destroy scene_output in cleanupmon()

This commit is contained in:
Leonardo Hernández Hernández 2022-03-20 19:09:28 -06:00
parent 44932053ba
commit 0dea553428
Failed to generate hash of commit

1
dwl.c
View file

@ -703,6 +703,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 */