diff event.c @ 318:1b45d6f14fca

applied Sanders focus_* patches, removed the unnecessary clean-prefix from the new function names
author Anselm R.Garbe <arg@10ksloc.org>
date Mon, 21 Aug 2006 09:03:14 +0200
parents 4aa632b6ba66
children 8a06efe5b563
line wrap: on
line diff
--- 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;