mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
surface: move subsurface lists to state
This commit is contained in:
parent
3ac99fa4dc
commit
90e62390d9
2 changed files with 30 additions and 36 deletions
|
|
@ -47,6 +47,9 @@ struct wlr_surface_state {
|
|||
int width, height; // in surface-local coordinates
|
||||
int buffer_width, buffer_height;
|
||||
|
||||
struct wl_list subsurfaces_below;
|
||||
struct wl_list subsurfaces_above;
|
||||
|
||||
/**
|
||||
* The viewport is applied after the surface transform and scale.
|
||||
*
|
||||
|
|
@ -139,14 +142,6 @@ struct wlr_surface {
|
|||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
||||
// wlr_subsurface.parent_link
|
||||
struct wl_list subsurfaces_below;
|
||||
struct wl_list subsurfaces_above;
|
||||
|
||||
// wlr_subsurface.parent_pending_link
|
||||
struct wl_list subsurfaces_pending_below;
|
||||
struct wl_list subsurfaces_pending_above;
|
||||
|
||||
struct wl_list current_outputs; // wlr_surface_output::link
|
||||
|
||||
void *data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue