aboutsummaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-09-29 18:08:20 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-09-29 18:08:20 +0200
commitdddd58a8cdc9ffd9f207c45316e9f9a28b4bf519 (patch)
tree99da0740293ed099f9bef473a6ce3fde893c7e72 /draw.c
parent010fd21b2037923e9ba1f0d67a67bbf8d8da2c89 (diff)
downloaddwm-dddd58a8cdc9ffd9f207c45316e9f9a28b4bf519.tar.gz
added symbols for different modes
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/draw.c b/draw.c
index 362d025..dc2bdb6 100644
--- a/draw.c
+++ b/draw.c
@@ -104,7 +104,9 @@ drawstatus(void) {
}
dc.w = bmw;
- drawtext(arrange == dofloat ? FLOATSYMBOL : TILESYMBOL, dc.status, False);
+ drawtext(arrange == dofloat ?
+ FLOATSYMBOL : stackpos == StackBottom ?
+ BSTACKSYMBOL : VSTACKSYMBOL, dc.status, False);
x = dc.x + dc.w;
dc.w = textw(stext);
remember that computers suck.