mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
tidy activate notify resource
This commit is contained in:
parent
94bf916dae
commit
7499044a2b
1 changed files with 2 additions and 0 deletions
2
dwl.c
2
dwl.c
|
@ -628,6 +628,8 @@ destroynotify(struct wl_listener *listener, void *data)
|
||||||
wl_list_remove(&c->map.link);
|
wl_list_remove(&c->map.link);
|
||||||
wl_list_remove(&c->unmap.link);
|
wl_list_remove(&c->unmap.link);
|
||||||
wl_list_remove(&c->destroy.link);
|
wl_list_remove(&c->destroy.link);
|
||||||
|
if (c->type == X11Managed)
|
||||||
|
wl_list_remove(&c->activate.link);
|
||||||
free(c);
|
free(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue