summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-25 14:46:01 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-25 14:46:01 +0200
commit9f35cc52fe27f694ce146356e6c71267ecd19217 (patch)
tree7859ea55091baf761d83129001fbb1a36ed49c16
parentrestored config.arg.h (diff)
downloaddwm-9f35cc52fe27f694ce146356e6c71267ecd19217.tar.gz
dwm-9f35cc52fe27f694ce146356e6c71267ecd19217.zip
small fix to separate client title from right-most tag
-rw-r--r--draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw.c b/draw.c
index ff6f779..7da24f2 100644
--- a/draw.c
+++ b/draw.c
@@ -94,7 +94,7 @@ drawall()
94void 94void
95drawstatus() 95drawstatus()
96{ 96{
97 static const char *mode[] = { "~", "=" }; 97 static const char *mode[] = { "~", "|" };
98 int i, x; 98 int i, x;
99 99
100 dc.x = dc.y = 0; 100 dc.x = dc.y = 0;
@@ -114,7 +114,7 @@ drawstatus()
114 else 114 else
115 drawtext(tags[i], dc.norm, sel && sel->tags[i]); 115 drawtext(tags[i], dc.norm, sel && sel->tags[i]);
116 } 116 }
117 x = dc.x + dc.w; 117 x = dc.x + dc.w + 1;
118 dc.w = textw(stext); 118 dc.w = textw(stext);
119 dc.x = bx + bw - dc.w; 119 dc.x = bx + bw - dc.w;
120 if(dc.x < x) { 120 if(dc.x < x) {