diff event.c @ 288:b7865e6feef2

applied sanders man page patch, removed button2 from bar click
author Anselm R.Garbe <arg@10ksloc.org>
date Mon, 14 Aug 2006 18:14:08 +0200
parents ff501d94de62
children 8e6e0aa5e2ae
line wrap: on
line diff
--- a/event.c	Mon Aug 14 17:50:48 2006 +0200
+++ b/event.c	Mon Aug 14 18:14:08 2006 +0200
@@ -109,10 +109,10 @@
 		for(a.i = 0; a.i < ntags; a.i++) {
 			x += textw(tags[a.i]);
 			if(ev->x < x) {
-				if(ev->button == Button3)
+				if(ev->button == Button1)
+					view(&a);
+				else if(ev->button == Button3)
 					toggleview(&a);
-				else
-					view(&a);
 				return;
 			}
 		}