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
No known key found for this signature in database
GPG Key ID: E538897EE11B9624
1 changed files with 1 additions and 0 deletions

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