From 28ffff801bb0137ec3fe4093afc4fb29784b17ec Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Wed, 7 Feb 2007 12:37:06 +0100 Subject: replaced getproto with a saner function, now old-school artifacts of WM times in the early 90s completely disappeared, no punned pointer warning anymore ;) --- event.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'event.c') diff --git a/event.c b/event.c index 418e986..c66aa72 100644 --- a/event.c +++ b/event.c @@ -308,10 +308,6 @@ propertynotify(XEvent *e) { 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: -- cgit v1.2.3