Explorar o código

please recheck this patch with Mathematica from Wolfram Research - lemme know if it fixes the geyish blob window bug

Anselm R. Garbe %!s(int64=18) %!d(string=hai) anos
pai
achega
52250e7c1e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      event.c

+ 2 - 1
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);