aboutsummaryrefslogtreecommitdiff
path: root/sway/container.c
diff options
context:
space:
mode:
authortaiyu <taiyu.len@gmail.com>2015-08-26 13:35:22 -0700
committertaiyu <taiyu.len@gmail.com>2015-08-26 13:35:22 -0700
commit357af228d693e64b4ac62ef472b3df65fd25348c (patch)
treeb4323f68acf9f37fe5c659172060471e03a07e92 /sway/container.c
parent1e54490b71a7ccacb0d25dd1e2792125b9d71c06 (diff)
some function documentation, fixed gaps on config reload
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 8dc2c825..5321e3cd 100644
--- a/sway/container.c
+++ b/sway/container.c
@@ -86,7 +86,7 @@ swayc_t *new_output(wlc_handle handle) {
}
output->handle = handle;
output->name = name ? strdup(name) : NULL;
- output->gaps = config->gaps_outer + config->gaps_inner / 2;
+ output->gaps = config->gaps_outer;
// Find position for it
if (oc && oc->x != -1 && oc->y != -1) {