dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 7d168a262153dc6f3926804abcf19589a07e0899
parent 931e712eac3dad86e9447944ac70f7b238f8a58d
Author: arg@mig29 <unknown>
Date:   Tue, 21 Nov 2006 15:03:08 +0100

returning to old bar colorization behavior, like sander proposed for consistency reasons
Diffstat:
Mdraw.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/draw.c b/draw.c
@@ -107,7 +107,7 @@ drawstatus(void) {
     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);