summaryrefslogtreecommitdiff
path: root/include/layout.h
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <[email protected]>2016-04-20 00:22:15 +0200
committerMikkel Oscar Lyderik <[email protected]>2016-04-25 00:00:49 +0200
commit3e1f78ab26e8bc6b6cefd53ee137e97533c2695e (patch)
treef158bcae9fce9af29a35bd3ec0e32b81bff87662 /include/layout.h
parent3955c66ce80989fa9d784eb9644fd41b096b3338 (diff)
Add support for nested tabbed/stacked containers
Diffstat (limited to 'include/layout.h')
-rw-r--r--include/layout.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/layout.h b/include/layout.h
index 84552754..c05e9e69 100644
--- a/include/layout.h
+++ b/include/layout.h
@@ -7,8 +7,6 @@
#include "container.h"
#include "focus.h"
-extern swayc_t root_container;
-
extern list_t *scratchpad;
extern int min_sane_w;
@@ -55,6 +53,10 @@ void move_container_to(swayc_t* container, swayc_t* destination);
void move_workspace_to(swayc_t* workspace, swayc_t* destination);
// Layout
+/**
+ * Update child container geometries when switching between layouts.
+ */
+void update_layout_geometry(swayc_t *parent, enum swayc_layouts prev_layout);
void update_geometry(swayc_t *view);
void arrange_windows(swayc_t *container, double width, double height);