JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
and another fix...
authorarg@10ksloc.org <unknown>
Wed, 19 Jul 2006 11:30:18 +0000 (13:30 +0200)
committerarg@10ksloc.org <unknown>
Wed, 19 Jul 2006 11:30:18 +0000 (13:30 +0200)
client.c

index 40e5b3c..9944a05 100644 (file)
--- 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;