Mercurial > dwm-meillo
comparison draw.c @ 571:f0688a69f17f
returning to old bar colorization behavior, like sander proposed for consistency reasons
author | arg@mig29 |
---|---|
date | Tue, 21 Nov 2006 15:03:08 +0100 |
parents | f05cfa7d5128 |
children | 427708bf5f36 |
comparison
equal
deleted
inserted
replaced
570:f05cfa7d5128 | 571:f0688a69f17f |
---|---|
105 dc.w = bw - x; | 105 dc.w = bw - x; |
106 } | 106 } |
107 drawtext(stext, dc.status, False); | 107 drawtext(stext, dc.status, False); |
108 if((dc.w = dc.x - x) > bh) { | 108 if((dc.w = dc.x - x) > bh) { |
109 dc.x = x; | 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 XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0); | 112 XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0); |
113 XSync(dpy, False); | 113 XSync(dpy, False); |
114 } | 114 } |
115 | 115 |