aboutsummaryrefslogtreecommitdiff
path: root/include/sway/layout.h
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-16 07:33:23 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-16 07:33:23 -0500
commit9fa70ce426a78921fa61f25f8b30a73a2a7d9ad7 (patch)
tree823cce0da3f7e0dc21c26bef7e639e8370e29b3d /include/sway/layout.h
parent030fcb64da90242718b7276a4c98cd0b2a346aad (diff)
parent1aab9ae3e74d15e2c346acbab2ef2def59db72eb (diff)
Merge branch 'wlroots' into feature/input
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 @@
#ifndef _SWAY_LAYOUT_H
#define _SWAY_LAYOUT_H
+#include <wlr/types/wlr_output_layout.h>
+
struct sway_container;
+struct sway_root {
+ struct wlr_output_layout *output_layout;
+
+ struct wl_listener output_layout_change;
+};
+
void init_layout(void);
void add_child(struct sway_container *parent, struct sway_container *child);
struct sway_container *remove_child(struct sway_container *child);