aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index bdd8960c..4ce487fc 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -192,8 +192,11 @@ struct sway_view_child_impl {
*/
struct sway_view_child {
const struct sway_view_child_impl *impl;
+ struct wl_list link;
struct sway_view *view;
+ struct sway_view_child *parent;
+ struct wl_list children; // sway_view_child::link
struct wlr_surface *surface;
bool mapped;