mirror of git://git.suckless.org/dwm
applied Szabolcs Nagy's patch (thank you!)
This commit is contained in:
parent
0c97b21b61
commit
d2a4952956
2
view.c
2
view.c
|
@ -99,7 +99,7 @@ dotile(void) {
|
||||||
c->x += mpx;
|
c->x += mpx;
|
||||||
c->w = stackw - 2 * BORDERPX;
|
c->w = stackw - 2 * BORDERPX;
|
||||||
if(th > bh) {
|
if(th > bh) {
|
||||||
c->y = way + (i - 1) * th;
|
c->y += (i - 1) * th;
|
||||||
c->h = th - 2 * BORDERPX;
|
c->h = th - 2 * BORDERPX;
|
||||||
}
|
}
|
||||||
else /* fallback if th < bh */
|
else /* fallback if th < bh */
|
||||||
|
|
Loading…
Reference in New Issue