aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.h
diff options
context:
space:
mode:
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