summaryrefslogtreecommitdiff
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 e4521674..9da7ac40 100644
--- a/event.c
+++ b/event.c
@@ -109,7 +109,7 @@ buttonpress(XEvent *e)
x += textw(tags[a.i]);
if(ev->x < x) {
if(ev->button == Button3)
- viewextend(&a);
+ toggleview(&a);
else
view(&a);
return;