aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-06-09 08:43:18 -0700
committerLibravatar GitHub <noreply@github.com>2018-06-09 08:43:18 -0700
commitd9fc381e0292519cccf2df6ea77a3356a2e621c7 (patch)
tree24e4ea6634a734ed303c7aaf611df682adbf746c /sway/tree/container.c
parentMerge pull request #2123 from emersion/fix-disabled-outputs (diff)
parentImplement gaps (PR #2047) (diff)
downloadsway-d9fc381e0292519cccf2df6ea77a3356a2e621c7.tar.gz
sway-d9fc381e0292519cccf2df6ea77a3356a2e621c7.tar.zst
sway-d9fc381e0292519cccf2df6ea77a3356a2e621c7.zip
Merge pull request #2047 from natesymer/master
Implement Gaps
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 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) {
124 wl_signal_add(&c->events.reparent, &c->reparent); 124 wl_signal_add(&c->events.reparent, &c->reparent);
125 c->reparent.notify = handle_reparent; 125 c->reparent.notify = handle_reparent;
126 126
127 c->has_gaps = false;
128 c->gaps_inner = 0;
129 c->gaps_outer = 0;
130 c->current_gaps = 0;
131
127 return c; 132 return c;
128} 133}
129 134