aboutsummaryrefslogtreecommitdiff
path: root/sway/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c2
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();
}