From 3ac99fa4dcbfcaf12e4e714529fd6b6eb03fd9fb Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 18 Aug 2021 16:11:09 +0200 Subject: subsurface: move parent link to state Move the wlr_subsurface parent link to the subsurface state. This is a dumb find/replace operation. This shouldn't result in any behavior change. --- include/wlr/types/wlr_surface.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index 69188cbb..6d8b1551 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -170,6 +170,7 @@ struct wlr_surface { */ struct wlr_subsurface_parent_state { int32_t x, y; + struct wl_list link; }; struct wlr_subsurface { @@ -186,9 +187,6 @@ struct wlr_subsurface { bool reordered; bool mapped; - struct wl_list parent_link; - struct wl_list parent_pending_link; - struct wl_listener surface_destroy; struct wl_listener parent_destroy; -- cgit v1.2.3