~ruther/dwl

f4dfdabd0bdd632d0b137ede22ff1beb73122efb — Alex Denes 7 months ago a2d03cf
NULL out decoration on destroy
1 files changed, 1 insertions(+), 0 deletions(-)

M dwl.c
M dwl.c => dwl.c +1 -0
@@ 1242,6 1242,7 @@ void
destroydecoration(struct wl_listener *listener, void *data)
{
	Client *c = wl_container_of(listener, c, destroy_decoration);
	c->decoration = NULL;

	wl_list_remove(&c->destroy_decoration.link);
	wl_list_remove(&c->set_decoration_mode.link);