new stuff, fixed several issues

This commit is contained in:
Anselm R. Garbe
2006-07-12 17:50:31 +02:00
parent 2e836ecce1
commit b1701adf75
6 changed files with 13 additions and 12 deletions

View File

@ -44,8 +44,8 @@ arrange(void *aux)
else
cols = rows;
gw = (sw - 2 * c->border) / cols;
gh = (sh - bh - 2 * c->border) / rows;
gw = (sw - 2) / cols;
gh = (sh - bh - 2) / rows;
for(i = j = 0, c = clients; c; c = c->next) {
c->x = i * gw;