aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-12 17:50:31 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-12 17:50:31 +0200
commitb1701adf75297747c52e0c3ed2c314cd10129907 (patch)
tree5afad14f6b53c57b1c063df3ddc434fe138ec5f7 /client.c
parent2e836ecce1ba0629a6088b739c1092d27fccd72b (diff)
downloaddwm-b1701adf75297747c52e0c3ed2c314cd10129907.tar.gz
new stuff, fixed several issues
Diffstat (limited to 'client.c')
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
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;