monitor: disconnect bind on disconnect

This commit is contained in:
vaxerski 2023-07-18 15:22:49 +02:00
parent 2e323a5671
commit 629e61c7a5

View file

@ -236,6 +236,7 @@ void CMonitor::onDisconnect() {
hyprListener_monitorDamage.removeCallback();
hyprListener_monitorNeedsFrame.removeCallback();
hyprListener_monitorCommit.removeCallback();
hyprListener_monitorBind.removeCallback();
for (size_t i = 0; i < 4; ++i) {
for (auto& ls : m_aLayerSurfaceLayers[i]) {