destroy scene_output in cleanupmon()

This commit is contained in:
Leonardo Hernández Hernández 2022-03-20 19:09:28 -06:00
parent 3e79a9a5d7
commit faaee90cbd
Failed to generate hash of commit

1
dwl.c
View file

@ -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 */