aboutsummaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-14 22:37:34 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-14 22:37:34 +0100
commit0045ad87dfb32f35fc17b5b8942049cfe84d623c (patch)
treea3a5a06a85ab9072f8ae0544cdd14f9bdf13af6e /draw.c
parentceea528eff5ccd1bbd11696209fdc60a5383cc41 (diff)
downloaddwm-0045ad87dfb32f35fc17b5b8942049cfe84d623c.tar.gz
implemented new color scheme accordingly to Sanders proposal
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/draw.c b/draw.c
index 8e3962c..19604f3 100644
--- a/draw.c
+++ b/draw.c
@@ -120,7 +120,7 @@ drawstatus(void) {
dc.x += dc.w;
}
dc.w = bmw;
- drawtext(arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, dc.status, False, False);
+ drawtext(arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, dc.norm, False, False);
x = dc.x + dc.w;
dc.w = textw(stext);
dc.x = bw - dc.w;
@@ -128,7 +128,7 @@ drawstatus(void) {
dc.x = x;
dc.w = bw - x;
}
- drawtext(stext, dc.status, False, False);
+ drawtext(stext, dc.norm, False, False);
if((dc.w = dc.x - x) > bh) {
dc.x = x;
drawtext(sel ? sel->name : NULL, sel ? dc.sel : dc.norm, False, False);
@@ -141,10 +141,10 @@ void
drawclient(Client *c) {
if(c == sel && issel) {
drawstatus();
- XSetWindowBorder(dpy, c->win, dc.sel[ColBG]);
+ XSetWindowBorder(dpy, c->win, dc.sel[ColBorder]);
return;
}
- XSetWindowBorder(dpy, c->win, dc.norm[ColBG]);
+ XSetWindowBorder(dpy, c->win, dc.norm[ColBorder]);
XSync(dpy, False);
}