summaryrefslogtreecommitdiffstats
path: root/include/sway/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/layout.h')
-rw-r--r--include/sway/layout.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sway/layout.h b/include/sway/layout.h
index f3b62b05..bfd96a02 100644
--- a/include/sway/layout.h
+++ b/include/sway/layout.h
@@ -1,8 +1,16 @@
1#ifndef _SWAY_LAYOUT_H 1#ifndef _SWAY_LAYOUT_H
2#define _SWAY_LAYOUT_H 2#define _SWAY_LAYOUT_H
3 3
4#include <wlr/types/wlr_output_layout.h>
5
4struct sway_container; 6struct sway_container;
5 7
8struct sway_root {
9 struct wlr_output_layout *output_layout;
10
11 struct wl_listener output_layout_change;
12};
13
6void init_layout(void); 14void init_layout(void);
7void add_child(struct sway_container *parent, struct sway_container *child); 15void add_child(struct sway_container *parent, struct sway_container *child);
8struct sway_container *remove_child(struct sway_container *child); 16struct sway_container *remove_child(struct sway_container *child);