about summary refs log tree commit diff stats
path: root/main.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 /main.c
parent010fd21b2037923e9ba1f0d67a67bbf8d8da2c89 (diff)
downloaddwm-dddd58a8cdc9ffd9f207c45316e9f9a28b4bf519.tar.gz
added symbols for different modes
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/main.c b/main.c
index a1fdde1..6de4f8a 100644
--- a/main.c
+++ b/main.c
@@ -128,8 +128,11 @@ setup(void) {
 	dc.status[ColBG] = getcolor(STATUSBGCOLOR);
 	dc.status[ColFG] = getcolor(STATUSFGCOLOR);
 	setfont(FONT);
-
-	bmw = textw(FLOATSYMBOL) > textw(TILESYMBOL) ? textw(FLOATSYMBOL) : textw(TILESYMBOL);
+ 
+	bmw = textw(VSTACKSYMBOL) > textw(BSTACKSYMBOL) ?
+		textw(VSTACKSYMBOL) : textw(BSTACKSYMBOL);
+	bmw = bmw > textw(FLOATSYMBOL) ?
+		bmw : textw(FLOATSYMBOL);
 	sx = sy = 0;
 	sw = DisplayWidth(dpy, screen);
 	sh = DisplayHeight(dpy, screen);
:53 +0100 committer Araq <rumpf_a@web.de> 2013-12-27 15:48:53 +0100 case consistency part 1' href='/ahoang/Nim/commit/compiler/bitsets.nim?h=devel&id=2df9b442c646e06cc577a723dc2592275bf9b6f5'>2df9b442c ^
e25474154 ^


2df9b442c ^
e25474154 ^

2df9b442c ^
e25474154 ^

2df9b442c ^
e25474154 ^

2df9b442c ^
e25474154 ^

2df9b442c ^
e25474154 ^

2df9b442c ^
e25474154 ^




2df9b442c ^
e25474154 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71