about summary refs log tree commit diff stats
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
parente36929292e08d03c496c8134f2d29c069a45dc2c (diff)
downloaddwm-e995c1b5325f88d197675950c15762d001dd80ef.tar.gz
trying a different configuration
Diffstat (limited to 'draw.c')
-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()
 	dc.x = dc.y = 0;
 	dc.w = bw;
 
-	drawtext(arrange == dotile ? TILESYMBOL : FLOATSYMBOL, dc.status, False);
-	dc.w = modew;
+	drawtext(NULL, dc.status, False);
 	for(i = 0; i < ntags; i++) {
-		dc.x += dc.w;
 		dc.w = textw(tags[i]);
 		if(seltag[i])
 			drawtext(tags[i], dc.sel, sel && sel->tags[i]);
 		else
 			drawtext(tags[i], dc.norm, sel && sel->tags[i]);
+		dc.x += dc.w;
 	}
+
+	dc.w = bmw;
+	drawtext(arrange == dotile ? TILESYMBOL : FLOATSYMBOL, dc.status, False);
+
 	x = dc.x + dc.w;
 	dc.w = textw(stext);
 	dc.x = bx + bw - dc.w;