NULL out decoration on destroy

This commit is contained in:
Alex Denes 2026-04-10 15:34:36 +00:00
parent d85a7c9107
commit 2d118a93cb
No known key found for this signature in database
GPG Key ID: F92BA85F61F4C173

2
dwl.c
View File

@ -1242,7 +1242,7 @@ void
destroydecoration(struct wl_listener *listener, void *data)
{
Client *c = wl_container_of(listener, c, destroy_decoration);
c->decoration == NULL;
c->decoration = NULL;
wl_list_remove(&c->destroy_decoration.link);
wl_list_remove(&c->set_decoration_mode.link);