forked from mirror/dwm
yet another typo fix
This commit is contained in:
parent
f522930a99
commit
0fb1842fd0
1 changed files with 2 additions and 2 deletions
4
client.c
4
client.c
|
@ -208,9 +208,9 @@ manage(Window w, XWindowAttributes *wa)
|
|||
c->bh = bh;
|
||||
|
||||
diff = sw - c->fw;
|
||||
c->fx = sx + (random() % diff ? diff : 1);
|
||||
c->fx = random() % (diff ? diff : 1);
|
||||
diff = sh - c->fh;
|
||||
c->fy = sy + (random() % diff ? diff : 1);
|
||||
c->fy = random() % (diff ? diff : 1);
|
||||
|
||||
c->border = 1;
|
||||
c->proto = getproto(c->win);
|
||||
|
|
Loading…
Reference in a new issue