some function documentation, fixed gaps on config reload

This commit is contained in:
taiyu 2015-08-26 13:35:22 -07:00
parent 1e54490b71
commit 357af228d6
3 changed files with 77 additions and 52 deletions

View file

@ -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) {