diff options
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c index 2d29340e..7802c412 100644 --- a/sway/layout.c +++ b/sway/layout.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include "log.h" | 15 | #include "log.h" |
16 | 16 | ||
17 | swayc_t root_container; | 17 | swayc_t root_container; |
18 | swayc_t *current_focus; | ||
18 | list_t *scratchpad; | 19 | list_t *scratchpad; |
19 | 20 | ||
20 | int min_sane_h = 60; | 21 | int min_sane_h = 60; |
@@ -27,6 +28,7 @@ void init_layout(void) { | |||
27 | root_container.children = create_list(); | 28 | root_container.children = create_list(); |
28 | root_container.handle = -1; | 29 | root_container.handle = -1; |
29 | root_container.visible = true; | 30 | root_container.visible = true; |
31 | current_focus = &root_container; | ||
30 | scratchpad = create_list(); | 32 | scratchpad = create_list(); |
31 | } | 33 | } |
32 | 34 | ||