diff event.c @ 734:6283adb1fcf2

replaced getproto with a saner function, now old-school artifacts of WM times in the early 90s completely disappeared, no punned pointer warning anymore ;)
author Anselm R. Garbe <arg@suckless.org>
date Wed, 07 Feb 2007 12:37:06 +0100
parents 4ce65f61f01b
children
line wrap: on
line diff
--- a/event.c	Tue Feb 06 15:29:19 2007 +0100
+++ b/event.c	Wed Feb 07 12:37:06 2007 +0100
@@ -308,10 +308,6 @@
 	if(ev->state == PropertyDelete)
 		return; /* ignore */
 	if((c = getclient(ev->window))) {
-		if(ev->atom == wmatom[WMProtocols]) {
-			c->proto = getproto(c->win);
-			return;
-		}
 		switch (ev->atom) {
 			default: break;
 			case XA_WM_TRANSIENT_FOR: