layer: remove wl_list layers[] from struct output

...and just use `struct wlr_scene_tree *layer_tree[]`
This commit is contained in:
Johan Malm 2022-12-28 17:01:22 +00:00 committed by Consolatis
parent e7346f71c0
commit f01071e72c
4 changed files with 11 additions and 15 deletions

View file

@ -298,7 +298,6 @@ struct output {
struct server *server;
struct wlr_output *wlr_output;
struct wlr_scene_output *scene_output;
struct wl_list layers[LAB_NR_LAYERS];
struct wlr_scene_tree *layer_tree[LAB_NR_LAYERS];
struct wlr_scene_tree *layer_popup_tree;
struct wlr_scene_tree *osd_tree;

View file

@ -8,7 +8,6 @@ struct server;
struct output;
struct lab_layer_surface {
struct wl_list link; /* output::layers */
struct wlr_scene_layer_surface_v1 *scene_layer_surface;
struct server *server;