diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-07 12:37:06 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-07 12:37:06 +0100 |
| commit | 28ffff801bb0137ec3fe4093afc4fb29784b17ec (patch) | |
| tree | 2072e2465fb0b3cbf4f3241a096de99752e79be1 /event.c | |
| parent | yet another fix (diff) | |
| download | dwm-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 'event.c')
| -rw-r--r-- | event.c | 4 |
1 files changed, 0 insertions, 4 deletions
| @@ -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: |
