aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 8f6e816..c63dbe4 100644
--- a/dwl.c
+++ b/dwl.c
@@ -2139,8 +2139,10 @@ unmapnotify(struct wl_listener *listener, void *data)
grabc = NULL;
}
wl_list_remove(&c->link);
- if (client_is_unmanaged(c))
+ if (client_is_unmanaged(c)) {
+ wlr_scene_node_destroy(c->scene);
return;
+ }
setmon(c, NULL, 0);
wl_list_remove(&c->flink);