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:30:18 +0200
committerarg@10ksloc.org <unknown>2006-07-19 13:30:18 +0200
commit18be893b660025985508d6fcf5c9abdf42ce9929 (patch)
tree30bef896cdde68f60408bee48a69baf4bfb34d10 /client.c
parent0fb1842fd0a2ef77cd5bc4cb882490f9fc994ab8 (diff)
downloaddwm-18be893b660025985508d6fcf5c9abdf42ce9929.tar.gz
and another fix...
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 40e5b3c..9944a05 100644
--- a/client.c
+++ b/client.c
@@ -209,7 +209,7 @@ manage(Window w, XWindowAttributes *wa)
 
 	diff = sw - c->fw;
 	c->fx = random() % (diff ? diff : 1);
-	diff = sh - c->fh;
+	diff = sh - c->fh - bh;
 	c->fy = random() % (diff ? diff : 1);
 
 	c->border = 1;