event.c
changeset 318 1b45d6f14fca
parent 292 4aa632b6ba66
child 353 8a06efe5b563
--- a/event.c	Mon Aug 21 07:33:18 2006 +0200
+++ b/event.c	Mon Aug 21 09:03:14 2006 +0200
@@ -119,6 +119,8 @@
 	}
 	else if((c = getclient(ev->window))) {
 		focus(c);
+		if(CLEANMASK(ev->state) == 0)
+			return;
 		switch(ev->button) {
 		default:
 			break;