about summary refs log tree commit diff stats
path: root/client.c
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-07-19 13:24:58 +0200
committerarg@10ksloc.org <unknown>2006-07-19 13:24:58 +0200
commitf522930a99d72a4662a7d6d495487bf77b5b6cde (patch)
treeebdef20d77f016acbef1ab2f2fe55a76fbddfb00 /client.c
parentaebd745f72d3bc049d0af68aec33cf17277b20e9 (diff)
downloaddwm-f522930a99d72a4662a7d6d495487bf77b5b6cde.tar.gz
fixed a typo
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 62d4afc..97dd96b 100644
--- a/client.c
+++ b/client.c
@@ -210,7 +210,7 @@ manage(Window w, XWindowAttributes *wa)
 	diff = sw - c->fw;
 	c->fx = sx + (random() % diff ? diff : 1);
 	diff = sh - c->fh;
-	c->fy = sx + (random() % diff ? diff : 1);
+	c->fy = sy + (random() % diff ? diff : 1);
 
 	c->border = 1;
 	c->proto = getproto(c->win);