mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-15 08:22:07 -04:00
Merge branch 'simplify-output-layers' into 'master'
backend/wayland: Linearly allocate output layers See merge request wlroots/wlroots!4285
This commit is contained in:
commit
d1961ecd08
2 changed files with 33 additions and 52 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue