diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-06-19 09:08:15 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-06-19 09:08:15 +0200 |
commit | 52250e7c1e54d0ec8cd7d4667ba34137fcfef908 (patch) | |
tree | 1d1d6ab668a7062ee1348249747b8e000d38ae19 | |
parent | 51a94a2f147e490101f33b276c83389e48307425 (diff) |
please recheck this patch with Mathematica from Wolfram Research - lemme know if it fixes the geyish blob window bug
-rw-r--r-- | event.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -301,7 +301,8 @@ maprequest(XEvent *e) { if(!XGetWindowAttributes(dpy, ev->window, &wa)) return; - if(wa.override_redirect) + fprintf(stderr, "does the window suck? %s\n", wa.map_state == IsViewable ? "no" : "yes"); + if(wa.override_redirect || wa.map_state != IsViewable) return; if(!getclient(ev->window)) manage(ev->window, &wa); |