commit 7499044a2bb86c711edad906e27c4ef22418acd9
parent 94bf916dae15bd809c3de8d72f1dc5b0efd7978b
Author: Alexander Courtis <alex@courtis.org>
Date: Wed, 29 Jul 2020 15:05:24 +1000
tidy activate notify resource
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/dwl.c b/dwl.c
@@ -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);
}