summaryrefslogtreecommitdiffstats
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
parentyet another typo fix (diff)
downloaddwm-18be893b660025985508d6fcf5c9abdf42ce9929.tar.gz
dwm-18be893b660025985508d6fcf5c9abdf42ce9929.zip
and another fix...
Diffstat (limited to '')
-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)
209 209
210 diff = sw - c->fw; 210 diff = sw - c->fw;
211 c->fx = random() % (diff ? diff : 1); 211 c->fx = random() % (diff ? diff : 1);
212 diff = sh - c->fh; 212 diff = sh - c->fh - bh;
213 c->fy = random() % (diff ? diff : 1); 213 c->fy = random() % (diff ? diff : 1);
214 214
215 c->border = 1; 215 c->border = 1;