Merge branch 'simplify-output-layers' into 'master'

backend/wayland: Linearly allocate output layers

See merge request wlroots/wlroots!4285
This commit is contained in:
Alexander Orzechowski 2026-01-08 07:21:43 -05:00
commit d1961ecd08
2 changed files with 33 additions and 52 deletions

View file

@ -85,7 +85,7 @@ struct wlr_wl_presentation_feedback {
};
struct wlr_wl_output_layer {
struct wlr_addon addon;
struct wl_list link; // struct wlr_wl_output.layers
struct wl_surface *surface;
struct wl_subsurface *subsurface;
@ -131,6 +131,8 @@ struct wlr_wl_output {
struct wl_surface *surface;
int32_t hotspot_x, hotspot_y;
} cursor;
struct wl_list layers; // struct wlr_wl_output_layer.link
};
struct wlr_wl_pointer {