From bb7acfbcfbc37869c2215c26791c6175a5a6c526 Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Fri, 4 Dec 2009 08:37:14 +0100 Subject: EXA: Use correct coordinate system for calculating Composite fallback region. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes incorrectly skipped rendering of some Composite operations to windows. Signed-off-by: Michel Dänzer Reviewed-by: Keith Packard Signed-off-by: Keith Packard --- exa/exa_unaccel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c index 9bc765a53..eee14da4a 100644 --- a/exa/exa_unaccel.c +++ b/exa/exa_unaccel.c @@ -414,7 +414,9 @@ ExaCheckComposite (CARD8 op, PixmapPtr pDstPix; if (!miComputeCompositeRegion (®ion, pSrc, pMask, pDst, - xSrc, ySrc, xMask, yMask, xDst, yDst, + xSrc, ySrc, xMask, yMask, + xDst + pDst->pDrawable->x, + yDst + pDst->pDrawable->y, width, height)) goto skip; -- cgit v1.2.3