Destroy fullscreen node after moving clients off mon

This commit is contained in:
Ben Jargowsky 2024-01-06 17:29:39 -08:00
parent f3c4f72314
commit 25e34e4d0c

2
dwl.c
View File

@ -672,9 +672,9 @@ cleanupmon(struct wl_listener *listener, void *data)
m->wlr_output->data = NULL; m->wlr_output->data = NULL;
wlr_output_layout_remove(output_layout, m->wlr_output); wlr_output_layout_remove(output_layout, m->wlr_output);
wlr_scene_output_destroy(m->scene_output); wlr_scene_output_destroy(m->scene_output);
wlr_scene_node_destroy(&m->fullscreen_bg->node);
closemon(m); closemon(m);
wlr_scene_node_destroy(&m->fullscreen_bg->node);
free(m); free(m);
} }