diff options
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -109,10 +109,10 @@ buttonpress(XEvent *e) for(a.i = 0; a.i < ntags; a.i++) { x += textw(tags[a.i]); if(ev->x < x) { - if(ev->button == Button3) - toggleview(&a); - else + if(ev->button == Button1) view(&a); + else if(ev->button == Button3) + toggleview(&a); return; } } |