From b1701adf75297747c52e0c3ed2c314cd10129907 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Wed, 12 Jul 2006 17:50:31 +0200 Subject: new stuff, fixed several issues --- event.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'event.c') diff --git a/event.c b/event.c index 93007df..37196d1 100644 --- a/event.c +++ b/event.c @@ -186,11 +186,11 @@ propertynotify(XEvent *e) 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: -- cgit 1.4.1-2-gfad0