diff options
author | Vaxry <[email protected]> | 2024-08-02 00:31:44 +0200 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-08-02 00:31:44 +0200 |
commit | 09bb5658b7fa6c0dc4e2744797e51ad4dd25af42 (patch) | |
tree | 43b2694880b64014ea39e91720d994d3644ef9fb /src/desktop/LayerSurface.cpp | |
parent | ab0a3268e04f2295ec4455be90ce8d0c2b107b8d (diff) | |
download | Hyprland-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.cpp | 5 |
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() { |