please recheck this patch with Mathematica from Wolfram Research - lemme know if it fixes the geyish blob window bug
authorAnselm R. Garbe <arg@suckless.org>
Tue, 19 Jun 2007 09:08:15 +0200
changeset 920 7f8c81c4bc9a
parent 919 0ed962cd6b87
child 921 e0ec0d5d8b1e
please recheck this patch with Mathematica from Wolfram Research - lemme know if it fixes the geyish blob window bug
event.c
--- a/event.c	Tue Jun 19 09:04:21 2007 +0200
+++ b/event.c	Tue Jun 19 09:08:15 2007 +0200
@@ -301,7 +301,8 @@
 
 	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);