summaryrefslogtreecommitdiffstats
path: root/include/sway/tree/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree/layout.h')
-rw-r--r--include/sway/tree/layout.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/include/sway/tree/layout.h b/include/sway/tree/layout.h
index a4c31bf6..77cd954b 100644
--- a/include/sway/tree/layout.h
+++ b/include/sway/tree/layout.h
@@ -3,6 +3,7 @@
3#include <wlr/types/wlr_output_layout.h> 3#include <wlr/types/wlr_output_layout.h>
4#include <wlr/render/wlr_texture.h> 4#include <wlr/render/wlr_texture.h>
5#include "sway/tree/container.h" 5#include "sway/tree/container.h"
6#include "sway/tree/root.h"
6#include "config.h" 7#include "config.h"
7 8
8enum movement_direction { 9enum movement_direction {
@@ -24,28 +25,6 @@ enum resize_edge {
24 25
25struct sway_container; 26struct sway_container;
26 27
27struct sway_root {
28 struct wlr_output_layout *output_layout;
29
30 struct wl_listener output_layout_change;
31#ifdef HAVE_XWAYLAND
32 struct wl_list xwayland_unmanaged; // sway_xwayland_unmanaged::link
33#endif
34 struct wl_list drag_icons; // sway_drag_icon::link
35
36 struct wlr_texture *debug_tree;
37
38 struct wl_list outputs; // sway_output::link
39
40 list_t *scratchpad; // struct sway_container
41
42 struct {
43 struct wl_signal new_container;
44 } events;
45};
46
47void layout_init(void);
48
49void container_add_child(struct sway_container *parent, 28void container_add_child(struct sway_container *parent,
50 struct sway_container *child); 29 struct sway_container *child);
51 30