aewl

diff event.c @ 372:a9b4077ec058

applied sanders focus_ patches
author Anselm R. Garbe <arg@10kloc.org>
date Mon, 28 Aug 2006 08:06:50 +0200
parents fc9d35252ab4
children 126e78129f1d
line diff
     1.1 --- a/event.c	Mon Aug 28 08:02:29 2006 +0200
     1.2 +++ b/event.c	Mon Aug 28 08:06:50 2006 +0200
     1.3 @@ -123,7 +123,7 @@
     1.4  	}
     1.5  	else if((c = getclient(ev->window))) {
     1.6  		focus(c);
     1.7 -		if(CLEANMASK(ev->state) == 0)
     1.8 +		if(CLEANMASK(ev->state) != MODKEY)
     1.9  			return;
    1.10  		switch(ev->button) {
    1.11  		default: