summaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-07-29 08:09:46 -0400
committerGitHub <noreply@github.com>2020-07-29 08:09:46 -0400
commit4e9396d9a497fbf2aca21bec298201d2df4dc915 (patch)
treee20d7e8263270ac507aff921af94030cbb87bf3c /dwl.c
parent94bf916dae15bd809c3de8d72f1dc5b0efd7978b (diff)
parent7499044a2bb86c711edad906e27c4ef22418acd9 (diff)
Merge pull request #29 from alex-courtis/tidy-activate-notify
tidy activate notify resource
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index f7f88f1..4cef058 100644
--- 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);
}