mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
destroy the layer-suface's scene tree for popups
This commit is contained in:
parent
39f4ee564b
commit
a5e068b20a
1 changed files with 1 additions and 0 deletions
1
dwl.c
1
dwl.c
|
@ -1067,6 +1067,7 @@ destroylayersurfacenotify(struct wl_listener *listener, void *data)
|
||||||
wl_list_remove(&layersurface->unmap.link);
|
wl_list_remove(&layersurface->unmap.link);
|
||||||
wl_list_remove(&layersurface->surface_commit.link);
|
wl_list_remove(&layersurface->surface_commit.link);
|
||||||
wlr_scene_node_destroy(&layersurface->scene->node);
|
wlr_scene_node_destroy(&layersurface->scene->node);
|
||||||
|
wlr_scene_node_destroy(&layersurface->popups->node);
|
||||||
free(layersurface);
|
free(layersurface);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue