make sure configure and activate listeners are removed from list
1 files changed, 3 insertions(+), 2 deletions(-) M dwl.c
M dwl.c => dwl.c +3 -2
@@ 1004,9 1004,10 @@ destroynotify(struct wl_listener *listener, void *data) wl_list_remove(&c->set_title.link); wl_list_remove(&c->fullscreen.link); #ifdef XWAYLAND if (c->type == X11Managed) if (c->type != XDGShell) { wl_list_remove(&c->configure.link); wl_list_remove(&c->activate.link); else if (c->type == XDGShell) } else #endif wl_list_remove(&c->commit.link); free(c);