summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Jargowsky <bjargowsky@proton.me>2024-01-06 17:29:39 -0800
committerBen Jargowsky <bjargowsky@proton.me>2024-01-06 17:34:08 -0800
commit25e34e4d0c97165eef627b70b916967852ec1f5e (patch)
tree50be5eaea66b9f9ec52589ee453c23fc524c7380
parentf3c4f723147b40fb1284083f3d7dac988c52d162 (diff)
Destroy fullscreen node after moving clients off mon
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 4d19357..632dabf 100644
--- a/dwl.c
+++ b/dwl.c
@@ -672,9 +672,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);
}