changeset 571:f0688a69f17f

returning to old bar colorization behavior, like sander proposed for consistency reasons
author arg@mig29
date Tue, 21 Nov 2006 15:03:08 +0100
parents f05cfa7d5128
children 427708bf5f36
files draw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/draw.c	Tue Nov 21 14:49:13 2006 +0100
+++ b/draw.c	Tue Nov 21 15:03:08 2006 +0100
@@ -107,7 +107,7 @@
 	drawtext(stext, dc.status, False);
 	if((dc.w = dc.x - x) > bh) {
 		dc.x = x;
-		drawtext(sel ? sel->name : NULL, dc.sel, False);
+		drawtext(sel ? sel->name : NULL, sel ? dc.sel : dc.norm, False);
 	}
 	XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0);
 	XSync(dpy, False);