tidy activate notify resource

This commit is contained in:
Alexander Courtis 2020-07-29 15:05:24 +10:00
parent 94bf916dae
commit 7499044a2b

2
dwl.c
View file

@ -628,6 +628,8 @@ destroynotify(struct wl_listener *listener, void *data)
wl_list_remove(&c->map.link);
wl_list_remove(&c->unmap.link);
wl_list_remove(&c->destroy.link);
if (c->type == X11Managed)
wl_list_remove(&c->activate.link);
free(c);
}