about summary refs log tree commit diff stats
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index 0c159c7..88e1b10 100644
--- a/event.c
+++ b/event.c
@@ -105,7 +105,7 @@ buttonpress(XEvent *e)
 		switch(ev->button) {
 		default:
 			x = 0;
-			for(a.i = 0; a.i < TLast; a.i++) {
+			for(a.i = 0; a.i < ntags; a.i++) {
 				x += textw(tags[a.i]);
 				if(ev->x < x) {
 					view(&a);
href='/akkartik/mu/commit/html/counters.mu.html?h=hlt&id=dbe124108b7a3529feeeba91339928c4ac737072'>dbe12410 ^
f5465e12 ^
c5ffb6e1 ^
c5ffb6e1 ^













76755b28 ^


c5ffb6e1 ^

76755b28 ^
f5465e12 ^
76755b28 ^


c5ffb6e1 ^

f5465e12 ^

c5ffb6e1 ^
f5465e12 ^
c5ffb6e1 ^
f5465e12 ^
c5ffb6e1 ^
f5465e12 ^


c5ffb6e1 ^
f5465e12 ^

c5ffb6e1 ^
f5465e12 ^

c5ffb6e1 ^




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