aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-05-25 14:49:32 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-05-25 14:49:32 -0500
commit48ec914f439c962ac14f75bfcb0c40282c6a0de3 (patch)
tree8ec3e2262dc8e354522e39832153e37e8711b456
parent40449fa64fcacb98372e576cc21e192ab783162f (diff)
destroy layersurface's scene node in destroylayersurfacenotify()
-rw-r--r--dwl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 81ad91e..a317ee9 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1045,6 +1045,7 @@ destroylayersurfacenotify(struct wl_listener *listener, void *data)
wl_list_remove(&layersurface->map.link);
wl_list_remove(&layersurface->unmap.link);
wl_list_remove(&layersurface->surface_commit.link);
+ wlr_scene_node_destroy(layersurface->scene);
if (layersurface->layer_surface->output) {
Monitor *m = layersurface->layer_surface->output->data;
if (m)