bugfix: wrong column X coord in multi-columns mode
Thanks to Fabienne Ducroquet <fabiduc@gmail.com>
This commit is contained in:
parent
de45017b5d
commit
fd0fc340d7
|
@ -168,7 +168,7 @@ _tile(Display *disp, awesome_config *awesomeconf, const Bool right)
|
||||||
else
|
else
|
||||||
ny = way + ((i - awesomeconf->nmaster) % win_by_col) * (nh + 2 * c->border);
|
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);
|
resize(c, nx, ny, nw, nh, awesomeconf, awesomeconf->resize_hints);
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
|
|
Loading…
Reference in New Issue