mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-05-17 21:42:14 -04:00
NULL out decoration on destroy
This commit is contained in:
parent
d85a7c9107
commit
2d118a93cb
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
dwl.c
|
|
@ -1242,7 +1242,7 @@ void
|
||||||
destroydecoration(struct wl_listener *listener, void *data)
|
destroydecoration(struct wl_listener *listener, void *data)
|
||||||
{
|
{
|
||||||
Client *c = wl_container_of(listener, c, destroy_decoration);
|
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->destroy_decoration.link);
|
||||||
wl_list_remove(&c->set_decoration_mode.link);
|
wl_list_remove(&c->set_decoration_mode.link);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue