diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-06-09 08:43:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-09 08:43:18 -0700 |
commit | d9fc381e0292519cccf2df6ea77a3356a2e621c7 (patch) | |
tree | 24e4ea6634a734ed303c7aaf611df682adbf746c /sway/tree/container.c | |
parent | 21d98d5bfb19491f8fd486a2eddc8efe9fb3de6c (diff) | |
parent | 6a910b9ba5443aa31f7cc2468c943c2f9da4854b (diff) |
Merge pull request #2047 from natesymer/master
Implement Gaps
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index cd2c083c..af55a54e 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c @@ -124,6 +124,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; } |