dwm-meillo

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 diff
     1.1 --- a/event.c	Tue Feb 06 15:29:19 2007 +0100
     1.2 +++ b/event.c	Wed Feb 07 12:37:06 2007 +0100
     1.3 @@ -308,10 +308,6 @@
     1.4  	if(ev->state == PropertyDelete)
     1.5  		return; /* ignore */
     1.6  	if((c = getclient(ev->window))) {
     1.7 -		if(ev->atom == wmatom[WMProtocols]) {
     1.8 -			c->proto = getproto(c->win);
     1.9 -			return;
    1.10 -		}
    1.11  		switch (ev->atom) {
    1.12  			default: break;
    1.13  			case XA_WM_TRANSIENT_FOR: