aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-08 17:01:22 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-08 17:01:27 -0400
commit0427fddb5a919ae6b3a4205e057ae36133bfbc47 (patch)
treebf4e163872f63ad955148907f4ce03b63ed5384c /sway/layout.h
parent2786fa2215bf6d66a7e4feea4e7e12b0dc8d4ba4 (diff)
Add logging and new windows into layout tree
Diffstat (limited to 'sway/layout.h')
-rw-r--r--sway/layout.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/layout.h b/sway/layout.h
index 24d214d8..3d14252b 100644
--- a/sway/layout.h
+++ b/sway/layout.h
@@ -5,6 +5,7 @@
#include "list.h"
typedef enum {
+ LAYOUT_IS_VIEW,
LAYOUT_TILE_HORIZ,
LAYOUT_TILE_VERT,
LAYOUT_TABBED,
@@ -15,12 +16,17 @@ struct sway_container {
wlc_handle output;
list_t *children;
container_layout_t layout;
+ struct sway_container *parent;
};
extern list_t *outputs;
+extern wlc_handle focused_view;
void init_layout();
void add_output(wlc_handle output);
+void destroy_output(wlc_handle output);
wlc_handle get_topmost(wlc_handle output, size_t offset);
+void destroy_view(wlc_handle view);
+void add_view(wlc_handle view);
#endif