summaryrefslogtreecommitdiff
path: root/sway/layout.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2015-08-06 08:24:14 -0400
committerDrew DeVault <[email protected]>2015-08-06 08:24:14 -0400
commit82bc36c6812b24fca27c2ec176e2c2998e4df6d5 (patch)
treee43f61300ecb8f868bf9e40e43bdbd60bf02ecfb /sway/layout.h
parent47b28bd335fe279df35f746d5797a1071cb4b989 (diff)
Start to build out window management functions
Diffstat (limited to 'sway/layout.h')
-rw-r--r--sway/layout.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sway/layout.h b/sway/layout.h
new file mode 100644
index 00000000..a6fb35a7
--- /dev/null
+++ b/sway/layout.h
@@ -0,0 +1,14 @@
+#ifndef _SWAY_LAYOUT_H
+#define _SWAY_LAYOUT_H
+
+#include <wlc/wlc.h>
+#include "list.h"
+
+struct sway_container {
+ wlc_handle output; // May be NULL
+ list_t children;
+};
+
+wlc_handle get_topmost(wlc_handle output, size_t offset);
+
+#endif