diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-03-18 01:03:33 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-03-18 01:03:33 -0600 |
commit | 467123dc99db4a537f1043e081cc4a6db136417b (patch) | |
tree | 320e84fb81fe056413b3c585401b4bd74fa2742b | |
parent | 254f799fde51faf71ce3ec5e7af75826f4263d81 (diff) |
make sure to destroy wlr_scene_node of unmanaged clients
-rw-r--r-- | dwl.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |