dwl

My patch set and modifications to dwl
git clone git://git.ethandl.dev/dwl
Log | Files | Refs | README | LICENSE

commit bc72af6e2430cfb8db2f5fa1b9800c86f445b6d6
parent bcc8ce7a40d30023eb97934419c2102c91846563
Author: Leonardo Hernández Hernández <leohdz172@protonmail.com>
Date:   Sun, 18 Sep 2022 15:20:00 -0500

fix unmanaged clients not being unlinked from the commit listener

Diffstat:
Mdwl.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dwl.c b/dwl.c @@ -2362,14 +2362,14 @@ unmapnotify(struct wl_listener *listener, void *data) if (c->mon) c->mon->un_map = 1; - if (client_is_unmanaged(c)) { - wlr_scene_node_destroy(c->scene); - return; - } + if (client_is_unmanaged(c)) + goto end; wl_list_remove(&c->link); setmon(c, NULL, 0); wl_list_remove(&c->flink); + +end: wl_list_remove(&c->commit.link); wlr_scene_node_destroy(c->scene); printstatus();