aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/desktop/LayerSurface.cpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-08-02 00:31:44 +0200
committerVaxry <[email protected]>2024-08-02 00:31:44 +0200
commit09bb5658b7fa6c0dc4e2744797e51ad4dd25af42 (patch)
tree43b2694880b64014ea39e91720d994d3644ef9fb /src/desktop/LayerSurface.cpp
parentab0a3268e04f2295ec4455be90ce8d0c2b107b8d (diff)
downloadHyprland-09bb5658b7fa6c0dc4e2744797e51ad4dd25af42.tar.gz
Hyprland-09bb5658b7fa6c0dc4e2744797e51ad4dd25af42.zip
window/ls: reset core signals after destroy
fixes #7137
Diffstat (limited to 'src/desktop/LayerSurface.cpp')
-rw-r--r--src/desktop/LayerSurface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/desktop/LayerSurface.cpp b/src/desktop/LayerSurface.cpp
index ba1b1776..8fd448ef 100644
--- a/src/desktop/LayerSurface.cpp
+++ b/src/desktop/LayerSurface.cpp
@@ -111,6 +111,11 @@ void CLayerSurface::onDestroy() {
layerSurface.reset();
if (surface)
surface->unassign();
+
+ listeners.unmap.reset();
+ listeners.destroy.reset();
+ listeners.map.reset();
+ listeners.commit.reset();
}
void CLayerSurface::onMap() {