From a5e068b20a04357b4fc709b1c6f3b698b4dc7094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?= Date: Sat, 25 Nov 2023 13:30:56 -0600 Subject: [PATCH] destroy the layer-suface's scene tree for popups --- dwl.c | 1 + 1 file changed, 1 insertion(+) 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); }