summaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-25 15:48:44 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-25 15:48:44 +0200
commite995c1b5325f88d197675950c15762d001dd80ef (patch)
tree972031f4a7c0736cd56a88366d143204a2660d0b /draw.c
parentremoved small 1px gap, somehow without it things feel better (diff)
downloaddwm-e995c1b5325f88d197675950c15762d001dd80ef.tar.gz
dwm-e995c1b5325f88d197675950c15762d001dd80ef.zip
trying a different configuration
Diffstat (limited to '')
-rw-r--r--draw.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/draw.c b/draw.c
index 102e89e..64b11af 100644
--- a/draw.c
+++ b/draw.c
@@ -99,16 +99,19 @@ drawstatus()
99 dc.x = dc.y = 0; 99 dc.x = dc.y = 0;
100 dc.w = bw; 100 dc.w = bw;
101 101
102 drawtext(arrange == dotile ? TILESYMBOL : FLOATSYMBOL, dc.status, False); 102 drawtext(NULL, dc.status, False);
103 dc.w = modew;
104 for(i = 0; i < ntags; i++) { 103 for(i = 0; i < ntags; i++) {
105 dc.x += dc.w;
106 dc.w = textw(tags[i]); 104 dc.w = textw(tags[i]);
107 if(seltag[i]) 105 if(seltag[i])
108 drawtext(tags[i], dc.sel, sel && sel->tags[i]); 106 drawtext(tags[i], dc.sel, sel && sel->tags[i]);
109 else 107 else
110 drawtext(tags[i], dc.norm, sel && sel->tags[i]); 108 drawtext(tags[i], dc.norm, sel && sel->tags[i]);
109 dc.x += dc.w;
111 } 110 }
111
112 dc.w = bmw;
113 drawtext(arrange == dotile ? TILESYMBOL : FLOATSYMBOL, dc.status, False);
114
112 x = dc.x + dc.w; 115 x = dc.x + dc.w;
113 dc.w = textw(stext); 116 dc.w = textw(stext);
114 dc.x = bx + bw - dc.w; 117 dc.x = bx + bw - dc.w;