[Xquartz-changes] xserver: Branch 'PR-290-1.9'
Jeremy Huddleston
jeremyhu at freedesktop.org
Sun Apr 18 03:32:53 PDT 2010
Rebased ref, commits from common ancestor:
commit 67921251fef47426014df98124cb79b177a1477b
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date: Sun Apr 18 01:32:09 2010 -0700
Fixes it, but not sure what the real fix is...
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
diff --git a/mi/miexpose.c b/mi/miexpose.c
index 6776064..b43777d 100644
--- a/mi/miexpose.c
+++ b/mi/miexpose.c
@@ -680,6 +680,19 @@ miPaintWindow(WindowPtr pWin, RegionPtr prgn, int what)
prect->height = pbox->y2 - pbox->y1;
}
prect -= numRects;
+
+#ifdef XQUARTZ
+ /* Looks like our clipping isn't set right for some reason:
+ * http://xquartz.macosforge.org/trac/ticket/290
+ */
+ if(what == PW_BORDER) {
+ pGC->pCompositeClip->extents.x1 = 0;
+ pGC->pCompositeClip->extents.y1 = 0;
+ pGC->pCompositeClip->extents.x2 = drawable->pScreen->width;
+ pGC->pCompositeClip->extents.y2 = drawable->pScreen->height;
+ }
+#endif
+
(*pGC->ops->PolyFillRect)(drawable, pGC, numRects, prect);
xfree(prect);
More information about the Xquartz-changes
mailing list