aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_surface.h11
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;