diff options
Diffstat (limited to 'include/layout.h')
-rw-r--r-- | include/layout.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/layout.h b/include/layout.h index b7731031..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 | ||
@@ -67,4 +69,9 @@ void recursive_resize(swayc_t *container, double amount, enum wlc_resize_edge ed | |||
67 | void layout_log(const swayc_t *c, int depth); | 69 | void layout_log(const swayc_t *c, int depth); |
68 | void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, ...) __attribute__((format(printf,3,4))); | 70 | void swayc_log(log_importance_t verbosity, swayc_t *cont, const char* format, ...) __attribute__((format(printf,3,4))); |
69 | 71 | ||
72 | /** | ||
73 | * Get default layout. | ||
74 | */ | ||
75 | enum swayc_layouts default_layout(swayc_t *output); | ||
76 | |||
70 | #endif | 77 | #endif |