[PULL] misc XQuartz fixes

Keith Packard keithp at keithp.com
Sat May 1 02:01:26 PDT 2010


On Fri, 30 Apr 2010 16:22:07 -0700, Jeremy Huddleston <jeremyhu at apple.com> wrote:

> if (pWin->drawable->type == UNDRAWABLE_WINDOW)
>     return;

Ok, now I'm confused. The patch I see in your tree looks like this:

@@ -552,6 +552,9 @@ miPaintWindow(WindowPtr pWin, RegionPtr prgn, int what)
     DrawablePtr	drawable = &pWin->drawable;
 
 #ifdef ROOTLESS
+    if(!drawable || drawable->type == UNDRAWABLE_WINDOW)
+	return;
+
     if(IsFramedWindow(pWin)) {
         RootlessStartDrawing(pWin);
         RootlessDamageRegion(pWin, prgn);

Are you talking about some other patch?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100501/f96f285e/attachment.pgp>


More information about the xorg-devel mailing list