From a42ef6c940604172e54de110b7d989cb2208f7ef Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 14 Jun 2011 11:45:38 -0500 Subject: EXA: fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The incorrect drawable deltas were applied if dst was a redirected window. Resulting in a bogus region passed to prepare_access_reg(). Signed-off-by: Rob Clark Reviewed-by: Michel Dänzer Signed-off-by: Peter Hutterer --- exa/exa_unaccel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exa') diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c index 078b91c77..df416d5ac 100644 --- a/exa/exa_unaccel.c +++ b/exa/exa_unaccel.c @@ -143,7 +143,7 @@ ExaCheckCopyNtoN (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, RegionInitBoxes (®, pbox, nbox)) { PixmapPtr pPixmap = exaGetDrawablePixmap(pDst); - exaGetDrawableDeltas(pSrc, pPixmap, &xoff, &yoff); + exaGetDrawableDeltas(pDst, pPixmap, &xoff, &yoff); RegionTranslate(®, xoff, yoff); pExaScr->prepare_access_reg(pPixmap, EXA_PREPARE_DEST, ®); RegionUninit(®); -- cgit v1.2.3