dwm-meillo

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 diff
     1.1 --- a/event.c	Mon Aug 14 17:50:48 2006 +0200
     1.2 +++ b/event.c	Mon Aug 14 18:14:08 2006 +0200
     1.3 @@ -109,10 +109,10 @@
     1.4  		for(a.i = 0; a.i < ntags; a.i++) {
     1.5  			x += textw(tags[a.i]);
     1.6  			if(ev->x < x) {
     1.7 -				if(ev->button == Button3)
     1.8 +				if(ev->button == Button1)
     1.9 +					view(&a);
    1.10 +				else if(ev->button == Button3)
    1.11  					toggleview(&a);
    1.12 -				else
    1.13 -					view(&a);
    1.14  				return;
    1.15  			}
    1.16  		}