destroy the layer-suface's scene tree for popups
This commit is contained in:
parent
39f4ee564b
commit
a5e068b20a
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 New Issue
Block a user