summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-10 12:33:44 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-10 12:33:44 +0200
commit1c620d27d82e5a14f699d6304738c625cd617495 (patch)
treefbe6a59ebf52908e6e1e193088b5605d825ab135
parentapplied sumik's multihead patch (diff)
downloaddwm-1c620d27d82e5a14f699d6304738c625cd617495.tar.gz
dwm-1c620d27d82e5a14f699d6304738c625cd617495.zip
fixed the issue reported by sander (gaps at left columns button due to round-offs)
-rw-r--r--tag.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tag.c b/tag.c
index 72d87d3..3aa0263 100644
--- a/tag.c
+++ b/tag.c
@@ -106,7 +106,10 @@ dotile(Arg *arg)
106 c->x = sx + mw; 106 c->x = sx + mw;
107 c->y = sy + (i - 1) * h + bh; 107 c->y = sy + (i - 1) * h + bh;
108 c->w = w - 2; 108 c->w = w - 2;
109 c->h = h - 2; 109 if(i + 1 == n)
110 c->h = sh - c->y - 2;
111 else
112 c->h = h - 2;
110 } 113 }
111 else { /* fallback if h < bh */ 114 else { /* fallback if h < bh */
112 c->x = sx + mw; 115 c->x = sx + mw;