bugfix: wrong column X coord in multi-columns mode

Thanks to Fabienne Ducroquet <fabiduc@gmail.com>
This commit is contained in:
Julien Danjou 2007-10-09 10:45:27 +02:00
parent de45017b5d
commit fd0fc340d7
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ _tile(Display *disp, awesome_config *awesomeconf, const Bool right)
else
ny = way + ((i - awesomeconf->nmaster) % win_by_col) * (nh + 2 * c->border);
nx = wax + current_col * nw + (right ? mw : 0);
nx = wax + current_col * (nw + 2 * c->border) + (right ? mw : 0);
resize(c, nx, ny, nw, nh, awesomeconf, awesomeconf->resize_hints);
}
i++;