Mercurial > dwm-meillo
comparison draw.c @ 208:e4bfe46c7910
status box should have a border in my eyes
author | arg@10ksloc.org |
---|---|
date | Mon, 07 Aug 2006 09:47:13 +0200 |
parents | e848966a1ac6 |
children | c674a0baac63 |
comparison
equal
deleted
inserted
replaced
207:836fb04ec317 | 208:e4bfe46c7910 |
---|---|
123 drawtext(tags[i], (i != tsel), True); | 123 drawtext(tags[i], (i != tsel), True); |
124 } | 124 } |
125 x = dc.x + dc.w; | 125 x = dc.x + dc.w; |
126 dc.w = textw(stext); | 126 dc.w = textw(stext); |
127 dc.x = bx + bw - dc.w; | 127 dc.x = bx + bw - dc.w; |
128 drawtext(stext, !istile, False); | 128 drawtext(stext, !istile, True); |
129 if(sel && ((dc.w = dc.x - x) >= bh)) { | 129 if(sel && ((dc.w = dc.x - x) >= bh)) { |
130 dc.x = x; | 130 dc.x = x; |
131 drawtext(sel->name, istile, True); | 131 drawtext(sel->name, istile, True); |
132 } | 132 } |
133 XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0); | 133 XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0); |