From b51be545b9ea9a79cf0e930803768a50428523ac Mon Sep 17 00:00:00 2001 From: Ben Jargowsky Date: Sat, 6 Jan 2024 17:29:39 -0800 Subject: [PATCH] Destroy fullscreen node after moving clients off mon --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index f10d90c..9ae1376 100644 --- a/dwl.c +++ b/dwl.c @@ -766,9 +766,9 @@ cleanupmon(struct wl_listener *listener, void *data) m->wlr_output->data = NULL; wlr_output_layout_remove(output_layout, m->wlr_output); wlr_scene_output_destroy(m->scene_output); - wlr_scene_node_destroy(&m->fullscreen_bg->node); closemon(m); + wlr_scene_node_destroy(&m->fullscreen_bg->node); free(m); }