summaryrefslogtreecommitdiffstats
path: root/sway/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c2
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
17swayc_t root_container; 17swayc_t root_container;
18swayc_t *current_focus;
18list_t *scratchpad; 19list_t *scratchpad;
19 20
20int min_sane_h = 60; 21int 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