summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-11-25 13:30:56 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-11-25 19:16:33 -0600
commita5e068b20a04357b4fc709b1c6f3b698b4dc7094 (patch)
tree544d1f367b5454c17411376770b224e782797231
parent39f4ee564b153966b0219004293d16900d2356d1 (diff)
destroy the layer-suface's scene tree for popups
-rw-r--r--dwl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index b589378..6a96179 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1067,6 +1067,7 @@ destroylayersurfacenotify(struct wl_listener *listener, void *data)
wl_list_remove(&layersurface->unmap.link);
wl_list_remove(&layersurface->surface_commit.link);
wlr_scene_node_destroy(&layersurface->scene->node);
+ wlr_scene_node_destroy(&layersurface->popups->node);
free(layersurface);
}