summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-07 12:37:06 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-07 12:37:06 +0100
commit28ffff801bb0137ec3fe4093afc4fb29784b17ec (patch)
tree2072e2465fb0b3cbf4f3241a096de99752e79be1 /event.c
parentyet another fix (diff)
downloaddwm-28ffff801bb0137ec3fe4093afc4fb29784b17ec.tar.gz
dwm-28ffff801bb0137ec3fe4093afc4fb29784b17ec.zip
replaced getproto with a saner function, now old-school artifacts of WM times in the early 90s completely disappeared, no punned pointer warning anymore ;)
Diffstat (limited to '')
-rw-r--r--event.c4
1 files changed, 0 insertions, 4 deletions
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) {
308 if(ev->state == PropertyDelete) 308 if(ev->state == PropertyDelete)
309 return; /* ignore */ 309 return; /* ignore */
310 if((c = getclient(ev->window))) { 310 if((c = getclient(ev->window))) {
311 if(ev->atom == wmatom[WMProtocols]) {
312 c->proto = getproto(c->win);
313 return;
314 }
315 switch (ev->atom) { 311 switch (ev->atom) {
316 default: break; 312 default: break;
317 case XA_WM_TRANSIENT_FOR: 313 case XA_WM_TRANSIENT_FOR: