diff options
author | Kirill Primak <vyivel@posteo.net> | 2021-08-26 20:57:51 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-09-06 17:37:08 +0200 |
commit | 90e62390d94dcdf2810e2fd60df505449e4d5917 (patch) | |
tree | b169d49b36de5dfb4d375a180c700fb1a2840341 /include/wlr | |
parent | 3ac99fa4dcbfcaf12e4e714529fd6b6eb03fd9fb (diff) |
surface: move subsurface lists to state
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_surface.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index 6d8b1551..4b464401 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -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; |