X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=client.c;h=95ec3a65a5fe3f6f0c3cebf1398d72269ce80684;hb=b1701adf75297747c52e0c3ed2c314cd10129907;hp=e9b83fe8d3ed3e4dc5c40ba033b8a5fe41e075f7;hpb=2e836ecce1ba0629a6088b739c1092d27fccd72b;p=dwm.git diff --git a/client.c b/client.c index e9b83fe..95ec3a6 100644 --- 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;