From 3e06edeb5df0aa95614cb0b11ba1931f01b6f337 Mon Sep 17 00:00:00 2001 From: Anselm R.Garbe Date: Mon, 14 Aug 2006 18:14:08 +0200 Subject: applied sanders man page patch, removed button2 from bar click --- event.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'event.c') diff --git a/event.c b/event.c index 5c21fcb..187c65e 100644 --- a/event.c +++ b/event.c @@ -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; } } -- cgit v1.2.3