Destroy fullscreen node after moving clients off mon

This commit is contained in:
Ben Jargowsky 2024-01-06 17:29:39 -08:00 committed by korei999
parent 8c948f751a
commit b51be545b9

2
dwl.c
View file

@ -766,9 +766,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);
} }