summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-11-21 15:03:08 +0100
committerarg@mig29 <unknown>2006-11-21 15:03:08 +0100
commit7d168a262153dc6f3926804abcf19589a07e0899 (patch)
tree7658daacf10183effb387036424f6b1763e3301d
parent931e712eac3dad86e9447944ac70f7b238f8a58d (diff)
downloaddwm-7d168a262153dc6f3926804abcf19589a07e0899.tar.gz
returning to old bar colorization behavior, like sander proposed for consistency reasons
-rw-r--r--draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw.c b/draw.c
index c2c47dc..cee56f9 100644
--- 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);