Merge pull request #29 from alex-courtis/tidy-activate-notify
tidy activate notify resource
This commit is contained in:
commit
4e9396d9a4
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 New Issue
Block a user