projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
931e712
)
returning to old bar colorization behavior, like sander proposed for consistency...
author
arg@mig29
<unknown>
Tue, 21 Nov 2006 14:03:08 +0000
(15:03 +0100)
committer
arg@mig29
<unknown>
Tue, 21 Nov 2006 14:03:08 +0000
(15:03 +0100)
draw.c
patch
|
blob
|
history
diff --git
a/draw.c
b/draw.c
index c2c47dcf144c6ece9f28c529c254bef90e57e4db..cee56f9f94ced0a042d4ef9c035cd8ffdea37078 100644
(file)
--- 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);