mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 11:46:31 +00:00
fix unmanaged clients not being unlinked from the commit listener
This commit is contained in:
parent
bcc8ce7a40
commit
bc72af6e24
1 changed files with 4 additions and 4 deletions
8
dwl.c
8
dwl.c
|
@ -2362,14 +2362,14 @@ unmapnotify(struct wl_listener *listener, void *data)
|
||||||
if (c->mon)
|
if (c->mon)
|
||||||
c->mon->un_map = 1;
|
c->mon->un_map = 1;
|
||||||
|
|
||||||
if (client_is_unmanaged(c)) {
|
if (client_is_unmanaged(c))
|
||||||
wlr_scene_node_destroy(c->scene);
|
goto end;
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
wl_list_remove(&c->link);
|
wl_list_remove(&c->link);
|
||||||
setmon(c, NULL, 0);
|
setmon(c, NULL, 0);
|
||||||
wl_list_remove(&c->flink);
|
wl_list_remove(&c->flink);
|
||||||
|
|
||||||
|
end:
|
||||||
wl_list_remove(&c->commit.link);
|
wl_list_remove(&c->commit.link);
|
||||||
wlr_scene_node_destroy(c->scene);
|
wlr_scene_node_destroy(c->scene);
|
||||||
printstatus();
|
printstatus();
|
||||||
|
|
Loading…
Reference in a new issue