aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-03-20 19:09:28 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-03-23 18:22:41 -0600
commitfaaee90cbd42d991f6e96e516035df2a1bab8361 (patch)
tree3700927784c24daabd239319b4ccc735a8e5408c
parent3e79a9a5d7a7d66effaca573798f4c5b77e99773 (diff)
destroy scene_output in cleanupmon()
-rw-r--r--dwl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 3f3f447..86f8c34 100644
--- a/dwl.c
+++ b/dwl.c
@@ -582,6 +582,7 @@ cleanupmon(struct wl_listener *listener, void *data)
wl_list_remove(&m->frame.link);
wl_list_remove(&m->link);
wlr_output_layout_remove(output_layout, m->wlr_output);
+ wlr_scene_output_destroy(m->scene_output);
if ((nmons = wl_list_length(&mons)))
do /* don't switch to disabled mons */