aewl

diff draw.c @ 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
line diff
     1.1 --- a/draw.c	Tue Nov 21 14:49:13 2006 +0100
     1.2 +++ b/draw.c	Tue Nov 21 15:03:08 2006 +0100
     1.3 @@ -107,7 +107,7 @@
     1.4  	drawtext(stext, dc.status, False);
     1.5  	if((dc.w = dc.x - x) > bh) {
     1.6  		dc.x = x;
     1.7 -		drawtext(sel ? sel->name : NULL, dc.sel, False);
     1.8 +		drawtext(sel ? sel->name : NULL, sel ? dc.sel : dc.norm, False);
     1.9  	}
    1.10  	XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0);
    1.11  	XSync(dpy, False);