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

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Tue Jun 19 11:40:25 2007

changeset: 920:7f8c81c4bc9a
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Tue Jun 19 09:08:15 2007 +0200
summary: please recheck this patch with Mathematica from Wolfram Research - lemme know if it fixes the geyish blob window bug

diff -r 0ed962cd6b87 -r 7f8c81c4bc9a 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 @@ 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);
Received on Tue Jun 19 2007 - 11:40:25 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:20 UTC