destroy the layer-suface's scene tree for popups

This commit is contained in:
Leonardo Hernández Hernández 2023-11-25 13:30:56 -06:00
parent 39f4ee564b
commit a5e068b20a
Failed to generate hash of commit

1
dwl.c
View file

@ -1067,6 +1067,7 @@ destroylayersurfacenotify(struct wl_listener *listener, void *data)
wl_list_remove(&layersurface->unmap.link);
wl_list_remove(&layersurface->surface_commit.link);
wlr_scene_node_destroy(&layersurface->scene->node);
wlr_scene_node_destroy(&layersurface->popups->node);
free(layersurface);
}