diff options
author | 2016-12-10 16:44:43 +0100 | |
---|---|---|
committer | 2016-12-29 20:31:30 +0100 | |
commit | 97f7d47413967e2b6f405c4fa303850b7c56f57a (patch) | |
tree | 5237aea545fd2665b5e4a3967df5d6688d81858d /sway/container.c | |
parent | Fix user-set LD_LIBRARY_PATH (diff) | |
download | sway-97f7d47413967e2b6f405c4fa303850b7c56f57a.tar.gz sway-97f7d47413967e2b6f405c4fa303850b7c56f57a.tar.zst sway-97f7d47413967e2b6f405c4fa303850b7c56f57a.zip |
Added Awesome/Monad type "auto" layouts
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/container.c b/sway/container.c index e557f450..d034115f 100644 --- a/sway/container.c +++ b/sway/container.c | |||
@@ -32,6 +32,8 @@ static swayc_t *new_swayc(enum swayc_types type) { | |||
32 | c->layout = L_NONE; | 32 | c->layout = L_NONE; |
33 | c->workspace_layout = L_NONE; | 33 | c->workspace_layout = L_NONE; |
34 | c->type = type; | 34 | c->type = type; |
35 | c->nb_master = 1; | ||
36 | c->nb_slave_groups = 1; | ||
35 | if (type != C_VIEW) { | 37 | if (type != C_VIEW) { |
36 | c->children = create_list(); | 38 | c->children = create_list(); |
37 | } | 39 | } |