Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
returning to old bar colorization behavior, like sander proposed for consistency...
[dwm.git]
/
draw.c
diff --git
a/draw.c
b/draw.c
index
c2c47dc
..
cee56f9
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(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);
}
XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0);
XSync(dpy, False);