Mercurial > aewl
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 wrap: on
line diff
--- a/event.c Wed Jul 12 17:17:15 2006 +0200 +++ b/event.c Wed Jul 12 17:50:31 2006 +0200 @@ -186,11 +186,11 @@ if(ev->state == PropertyDelete) return; /* ignore */ - if(ev->atom == wm_atom[WMProtocols]) { - c->proto = win_proto(c->win); - return; - } if((c = getclient(ev->window))) { + if(ev->atom == wm_atom[WMProtocols]) { + c->proto = win_proto(c->win); + return; + } switch (ev->atom) { default: break; case XA_WM_TRANSIENT_FOR: