JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
new stuff, fixed several issues
[dwm.git] / client.c
index e9b83fe..95ec3a6 100644 (file)
--- a/client.c
+++ b/client.c
@@ -44,8 +44,8 @@ arrange(void *aux)
        else
                cols = rows;
 
-       gw = (sw - 2 * c->border)  / cols;
-       gh = (sh - bh - 2 * c->border) / rows;
+       gw = (sw - 2)  / cols;
+       gh = (sh - bh - 2) / rows;
 
        for(i = j = 0, c = clients; c; c = c->next) {
                c->x = i * gw;