JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
and another fix...
[dwm.git] / 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;