diff options
author | wil <[email protected]> | 2016-12-10 16:44:43 +0100 |
---|---|---|
committer | wil <[email protected]> | 2016-12-29 20:31:30 +0100 |
commit | 97f7d47413967e2b6f405c4fa303850b7c56f57a (patch) | |
tree | 5237aea545fd2665b5e4a3967df5d6688d81858d /sway/container.c | |
parent | 6a1df17fb7f7bcfa26d825173de4d31b771fd7a6 (diff) |
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) { c->layout = L_NONE; c->workspace_layout = L_NONE; c->type = type; + c->nb_master = 1; + c->nb_slave_groups = 1; if (type != C_VIEW) { c->children = create_list(); } |