returning to old bar colorization behavior, like sander proposed for consistency reasons
7d168a26
1 file(s) · +1 −1
| 107 | 107 | drawtext(stext, dc.status, False); |
|
| 108 | 108 | if((dc.w = dc.x - x) > bh) { |
|
| 109 | 109 | dc.x = x; |
|
| 110 | - | drawtext(sel ? sel->name : NULL, dc.sel, False); |
|
| 110 | + | drawtext(sel ? sel->name : NULL, sel ? dc.sel : dc.norm, False); |
|
| 111 | 111 | } |
|
| 112 | 112 | XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0); |
|
| 113 | 113 | XSync(dpy, False); |