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 b558e704..c7c5c477 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -10,6 +10,7 @@
10#include "focus.h" 10#include "focus.h"
11 11
12swayc_t root_container; 12swayc_t root_container;
13list_t *scratchpad;
13 14
14int min_sane_h = 60; 15int min_sane_h = 60;
15int min_sane_w = 100; 16int min_sane_w = 100;
@@ -20,6 +21,7 @@ void init_layout(void) {
20 root_container.children = create_list(); 21 root_container.children = create_list();
21 root_container.handle = -1; 22 root_container.handle = -1;
22 root_container.visible = true; 23 root_container.visible = true;
24 scratchpad = create_list();
23} 25}
24 26
25int index_child(const swayc_t *child) { 27int index_child(const swayc_t *child) {