summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--event.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/event.c b/event.c
index 8a1c2a9..05b42f0 100644
--- a/event.c
+++ b/event.c
@@ -108,7 +108,13 @@ buttonpress(XEvent *e)
108 for(a.i = 0; a.i < ntags; a.i++) { 108 for(a.i = 0; a.i < ntags; a.i++) {
109 x += textw(tags[a.i]); 109 x += textw(tags[a.i]);
110 if(ev->x < x) { 110 if(ev->x < x) {
111 view(&a); 111 if(ev->button == Button3) {
112 tsel[a.i] = True;
113 arrange(NULL);
114 drawall();
115 }
116 else
117 view(&a);
112 return; 118 return;
113 } 119 }
114 } 120 }