aboutsummaryrefslogtreecommitdiff
path: root/sway/container.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-20 06:51:56 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-20 06:51:56 -0400
commit616d630fb028e44359bc6f14d16f94564341c092 (patch)
tree5819c5982ee8604e1566c0960d939c2df687e665 /sway/container.c
parent4db89b5fe46e8e7dc741b0ccb9fa3d0708c6fa59 (diff)
parent3c124d9e7d56559ff6c82ac313cb7ee065bc839f (diff)
Merge pull request #96 from KoffeinFlummi/gap-fix
Change gap behaviour to more closely match i3-gaps
Diffstat (limited to 'sway/container.c')
-rw-r--r--sway/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/container.c b/sway/container.c
index 9c6b78e9..dee4028d 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -67,7 +67,7 @@ swayc_t *new_output(wlc_handle handle) {
output->height = size->h;
output->handle = handle;
output->name = name ? strdup(name) : NULL;
- output->gaps = config->gaps_outer;
+ output->gaps = config->gaps_outer + config->gaps_inner / 2;
add_child(&root_container, output);