summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2011-06-14 11:45:38 -0500
committerPeter Hutterer <peter.hutterer@who-t.net>2011-06-20 08:20:30 +1000
commita42ef6c940604172e54de110b7d989cb2208f7ef (patch)
tree3897ca56fcb74217c4097cf278e8aab5123256af /exa
parent778309fd0ef6b586468c1a3b569e3548503459ee (diff)
EXA: fix typo
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 <rob@ti.com> Reviewed-by: Michel Dänzer <michel@daenzer.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'exa')
-rw-r--r--exa/exa_unaccel.c2
1 files changed, 1 insertions, 1 deletions
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 (&reg, pbox, nbox)) {
PixmapPtr pPixmap = exaGetDrawablePixmap(pDst);
- exaGetDrawableDeltas(pSrc, pPixmap, &xoff, &yoff);
+ exaGetDrawableDeltas(pDst, pPixmap, &xoff, &yoff);
RegionTranslate(&reg, xoff, yoff);
pExaScr->prepare_access_reg(pPixmap, EXA_PREPARE_DEST, &reg);
RegionUninit(&reg);