From 52250e7c1e54d0ec8cd7d4667ba34137fcfef908 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Tue, 19 Jun 2007 09:08:15 +0200 Subject: please recheck this patch with Mathematica from Wolfram Research - lemme know if it fixes the geyish blob window bug --- event.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/event.c b/event.c index ad4e271..9897640 100644 --- a/event.c +++ b/event.c @@ -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); -- cgit v1.2.3