aewl

diff event.c @ 371:fc9d35252ab4

applied sanders somepatches.patch
author Anselm R. Garbe <arg@10kloc.org>
date Mon, 28 Aug 2006 08:02:29 +0200
parents ba6c55e1b9b2
children a9b4077ec058
line diff
     1.1 --- a/event.c	Fri Aug 25 18:14:55 2006 +0200
     1.2 +++ b/event.c	Mon Aug 28 08:02:29 2006 +0200
     1.3 @@ -116,8 +116,10 @@
     1.4  				return;
     1.5  			}
     1.6  		}
     1.7 -		if(ev->x < x + bmw)
     1.8 -			togglemode(NULL);
     1.9 +		if(ev->x < x + bmw) {
    1.10 +			if(ev->button == Button1)
    1.11 +				togglemode(NULL);
    1.12 +		}
    1.13  	}
    1.14  	else if((c = getclient(ev->window))) {
    1.15  		focus(c);