aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-06-11 11:03:43 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-06-11 11:03:43 +1000
commit9e96cfd310c4e5dc60f07d772e60b139ff7dc448 (patch)
tree9961c8705208b2f127133f0533bd305a6f75015e /sway/tree/container.c
parentbb66e6d578fdc68fb33d0fde921390d74f20bb31 (diff)
parent867fb6aedbbe4cd1c7f4817848682609e8489880 (diff)
Merge remote-tracking branch 'upstream/master' into atomic
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index d312eb60..f8620b72 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -125,6 +125,11 @@ struct sway_container *container_create(enum sway_container_type type) {
wl_signal_add(&c->events.reparent, &c->reparent);
c->reparent.notify = handle_reparent;
+ c->has_gaps = false;
+ c->gaps_inner = 0;
+ c->gaps_outer = 0;
+ c->current_gaps = 0;
+
return c;
}