about summary refs log tree commit diff stats
path: root/draw.c
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-11 18:37:41 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-11 18:37:41 +0200
commitd7413ffd2d9a84fc3140b28b26f8cb6bb80164e4 (patch)
tree7e7f0f998a77610178e91d57c175526332098abd /draw.c
parent50729a2e73bc142ba79aa335012d401fca2391d3 (diff)
downloaddwm-d7413ffd2d9a84fc3140b28b26f8cb6bb80164e4.tar.gz
implement multi-tag selection through button3 click on the specific tag
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw.c b/draw.c
index 6466f41..bdbe85a 100644
--- a/draw.c
+++ b/draw.c
@@ -109,9 +109,9 @@ drawstatus()
 		dc.x += dc.w;
 		dc.w = textw(tags[i]);
 		if(istile)
-			drawtext(tags[i], (i == tsel));
+			drawtext(tags[i], tsel[i]);
 		else
-			drawtext(tags[i], (i != tsel));
+			drawtext(tags[i], !tsel[i]);
 	}
 	x = dc.x + dc.w;
 	dc.w = textw(stext);
the previous revision' href='/akkartik/mu/blame/html/real-files.mu.html?h=main&id=6c69569a4c4ca3a23635d4d7a40f0fe557194619'>^
d990e8f0 ^





e5c11a51 ^






















d990e8f0 ^


e5c11a51 ^
d990e8f0 ^
204dae92 ^













201458e3 ^
204dae92 ^


d990e8f0 ^



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
72
73
74
75
76