small fix of a corner case

This commit is contained in:
Anselm R. Garbe 2006-09-29 16:54:15 +02:00
parent 6646468125
commit ad0da9a571

2
view.c
View file

@ -213,7 +213,7 @@ dotile(Arg *arg) {
c->x = sx + master + (i - 1) * tw; c->x = sx + master + (i - 1) * tw;
c->y = sy + bh; c->y = sy + bh;
if(i + 1 == n) if(i + 1 == n)
c->w = sx + stackw - c->x - 2 * BORDERPX; c->w = sw - c->x - 2 * BORDERPX;
} }
break; break;
} }