mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 18:05:59 +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_monitorDamage.removeCallback();
|
||||||
hyprListener_monitorNeedsFrame.removeCallback();
|
hyprListener_monitorNeedsFrame.removeCallback();
|
||||||
hyprListener_monitorCommit.removeCallback();
|
hyprListener_monitorCommit.removeCallback();
|
||||||
|
hyprListener_monitorBind.removeCallback();
|
||||||
|
|
||||||
for (size_t i = 0; i < 4; ++i) {
|
for (size_t i = 0; i < 4; ++i) {
|
||||||
for (auto& ls : m_aLayerSurfaceLayers[i]) {
|
for (auto& ls : m_aLayerSurfaceLayers[i]) {
|
||||||
|
|
Loading…
Reference in a new issue