diff options
author | taiyu <taiyu.len@gmail.com> | 2015-08-26 13:35:22 -0700 |
---|---|---|
committer | taiyu <taiyu.len@gmail.com> | 2015-08-26 13:35:22 -0700 |
commit | 357af228d693e64b4ac62ef472b3df65fd25348c (patch) | |
tree | b4323f68acf9f37fe5c659172060471e03a07e92 /sway/container.c | |
parent | Merge pull request #136 from taiyu-len/master (diff) | |
download | sway-357af228d693e64b4ac62ef472b3df65fd25348c.tar.gz sway-357af228d693e64b4ac62ef472b3df65fd25348c.tar.zst sway-357af228d693e64b4ac62ef472b3df65fd25348c.zip |
some function documentation, fixed gaps on config reload
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 2 |
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) { | |||
86 | } | 86 | } |
87 | output->handle = handle; | 87 | output->handle = handle; |
88 | output->name = name ? strdup(name) : NULL; | 88 | output->name = name ? strdup(name) : NULL; |
89 | output->gaps = config->gaps_outer + config->gaps_inner / 2; | 89 | output->gaps = config->gaps_outer; |
90 | 90 | ||
91 | // Find position for it | 91 | // Find position for it |
92 | if (oc && oc->x != -1 && oc->y != -1) { | 92 | if (oc && oc->x != -1 && oc->y != -1) { |