From 2d118a93cb0c7a30d9cedc2f4c0401eb6c396498 Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Fri, 10 Apr 2026 15:34:36 +0000 Subject: [PATCH] NULL out decoration on destroy --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index 5baa044..bf3e58c 100644 --- a/dwl.c +++ b/dwl.c @@ -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);