new stuff, fixed several issues
This commit is contained in:
parent
2e836ecce1
commit
b1701adf75
6 changed files with 13 additions and 12 deletions
4
client.c
4
client.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue