mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 23:09:51 +01:00
monitor: disconnect bind on disconnect
This commit is contained in:
parent
2e323a5671
commit
629e61c7a5
1 changed files with 1 additions and 0 deletions
|
@ -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]) {
|
||||
|
|
Loading…
Reference in a new issue