aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-08-18 16:11:09 +0200
committerSimon Ser <contact@emersion.fr>2021-09-06 17:37:08 +0200
commit3ac99fa4dcbfcaf12e4e714529fd6b6eb03fd9fb (patch)
tree8296750bf40f42f23c330a63feb1f76d54ff6225 /include
parent56b6b80b9a73d50c1a77afad2df29de8de7bd13b (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_surface.h4
1 files changed, 1 insertions, 3 deletions
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;