diff options
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r-- | include/sway/tree/container.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index fe3ee8a8..ee22a0d0 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -3,6 +3,7 @@ | |||
3 | #include <stdint.h> | 3 | #include <stdint.h> |
4 | #include <sys/types.h> | 4 | #include <sys/types.h> |
5 | #include <wlr/types/wlr_compositor.h> | 5 | #include <wlr/types/wlr_compositor.h> |
6 | #include <wlr/types/wlr_scene.h> | ||
6 | #include "list.h" | 7 | #include "list.h" |
7 | #include "sway/tree/node.h" | 8 | #include "sway/tree/node.h" |
8 | 9 | ||
@@ -68,6 +69,26 @@ struct sway_container { | |||
68 | struct sway_node node; | 69 | struct sway_node node; |
69 | struct sway_view *view; | 70 | struct sway_view *view; |
70 | 71 | ||
72 | struct wlr_scene_tree *scene_tree; | ||
73 | |||
74 | struct { | ||
75 | struct wlr_scene_tree *tree; | ||
76 | |||
77 | struct wlr_scene_tree *border; | ||
78 | struct wlr_scene_tree *background; | ||
79 | } title_bar; | ||
80 | |||
81 | struct { | ||
82 | struct wlr_scene_tree *tree; | ||
83 | |||
84 | struct wlr_scene_rect *top; | ||
85 | struct wlr_scene_rect *bottom; | ||
86 | struct wlr_scene_rect *left; | ||
87 | struct wlr_scene_rect *right; | ||
88 | } border; | ||
89 | |||
90 | struct wlr_scene_tree *content_tree; | ||
91 | |||
71 | struct sway_container_state current; | 92 | struct sway_container_state current; |
72 | struct sway_container_state pending; | 93 | struct sway_container_state pending; |
73 | 94 | ||