dwm-meillo

diff event.c @ 30:2e0fb4130bfb

new stuff, fixed several issues
author Anselm R. Garbe <garbeam@wmii.de>
date Wed, 12 Jul 2006 17:50:31 +0200
parents 8ad86d0a6a53
children 386649deb651
line diff
     1.1 --- a/event.c	Wed Jul 12 17:17:15 2006 +0200
     1.2 +++ b/event.c	Wed Jul 12 17:50:31 2006 +0200
     1.3 @@ -186,11 +186,11 @@
     1.4  	if(ev->state == PropertyDelete)
     1.5  		return; /* ignore */
     1.6  
     1.7 -	if(ev->atom == wm_atom[WMProtocols]) {
     1.8 -		c->proto = win_proto(c->win);
     1.9 -		return;
    1.10 -	}
    1.11  	if((c = getclient(ev->window))) {
    1.12 +		if(ev->atom == wm_atom[WMProtocols]) {
    1.13 +			c->proto = win_proto(c->win);
    1.14 +			return;
    1.15 +		}
    1.16  		switch (ev->atom) {
    1.17  			default: break;
    1.18  			case XA_WM_TRANSIENT_FOR: