diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-04-20 00:22:15 +0200 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-04-25 00:00:49 +0200 |
commit | 3e1f78ab26e8bc6b6cefd53ee137e97533c2695e (patch) | |
tree | f158bcae9fce9af29a35bd3ec0e32b81bff87662 /include/layout.h | |
parent | Use tabs for indentation (diff) | |
download | sway-3e1f78ab26e8bc6b6cefd53ee137e97533c2695e.tar.gz sway-3e1f78ab26e8bc6b6cefd53ee137e97533c2695e.tar.zst sway-3e1f78ab26e8bc6b6cefd53ee137e97533c2695e.zip |
Add support for nested tabbed/stacked containers
Diffstat (limited to 'include/layout.h')
-rw-r--r-- | include/layout.h | 6 |
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 @@ | |||
7 | #include "container.h" | 7 | #include "container.h" |
8 | #include "focus.h" | 8 | #include "focus.h" |
9 | 9 | ||
10 | extern swayc_t root_container; | ||
11 | |||
12 | extern list_t *scratchpad; | 10 | extern list_t *scratchpad; |
13 | 11 | ||
14 | extern int min_sane_w; | 12 | extern int min_sane_w; |
@@ -55,6 +53,10 @@ void move_container_to(swayc_t* container, swayc_t* destination); | |||
55 | void move_workspace_to(swayc_t* workspace, swayc_t* destination); | 53 | void move_workspace_to(swayc_t* workspace, swayc_t* destination); |
56 | 54 | ||
57 | // Layout | 55 | // Layout |
56 | /** | ||
57 | * Update child container geometries when switching between layouts. | ||
58 | */ | ||
59 | void update_layout_geometry(swayc_t *parent, enum swayc_layouts prev_layout); | ||
58 | void update_geometry(swayc_t *view); | 60 | void update_geometry(swayc_t *view); |
59 | void arrange_windows(swayc_t *container, double width, double height); | 61 | void arrange_windows(swayc_t *container, double width, double height); |
60 | 62 | ||