From 629e61c7a56561ee5d565dda6d0d8b7c41dbe9c7 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 18 Jul 2023 15:22:49 +0200 Subject: [PATCH] monitor: disconnect bind on disconnect --- src/helpers/Monitor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index 301370bd..e8eec951 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -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]) {