Mercurial > hg > index.fcgi > dwm > dwm-3.6.1-12pba
comparison draw.c @ 14:09e9101ee51e
adjust inverse border color
author | paulo |
---|---|
date | Thu, 05 May 2016 22:17:52 -0700 |
parents | bc03b37b37ba |
children |
comparison
equal
deleted
inserted
replaced
3:7b178d0d327e | 4:38322e989d57 |
---|---|
88 } | 88 } |
89 drawtext(stext, dc.norm); | 89 drawtext(stext, dc.norm); |
90 | 90 |
91 if((dc.w = dc.x - x) > bh) { | 91 if((dc.w = dc.x - x) > bh) { |
92 dc.x = x; | 92 dc.x = x; |
93 drawtext(sel ? sel->name : NULL, sel ? dc.sel : dc.norm); | 93 drawtext(sel ? sel->name : NULL, (getkeymode() == COMMANDMODE) ? dc.inv : (sel ? dc.sel : dc.norm)); |
94 } | 94 } |
95 XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, sw, bh, 0, 0); | 95 XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, sw, bh, 0, 0); |
96 | 96 |
97 if (TASKBAR) { | 97 if (TASKBAR) { |
98 dc.x = dc.y = 0; | 98 dc.x = dc.y = 0; |