returning to old bar colorization behavior, like sander proposed for consistency reasons
parent
931e712eac
commit
7d168a2621
2
draw.c
2
draw.c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue