returning to old bar colorization behavior, like sander proposed for consistency reasons

This commit is contained in:
arg@mig29 2006-11-21 15:03:08 +01:00
parent 931e712eac
commit 7d168a2621

2
draw.c
View file

@ -107,7 +107,7 @@ drawstatus(void) {
drawtext(stext, dc.status, False); drawtext(stext, dc.status, False);
if((dc.w = dc.x - x) > bh) { if((dc.w = dc.x - x) > bh) {
dc.x = x; 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); XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0);
XSync(dpy, False); XSync(dpy, False);