aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/mi/micopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/mi/micopy.c')
-rw-r--r--xorg-server/mi/micopy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xorg-server/mi/micopy.c b/xorg-server/mi/micopy.c
index da52bc659..ce01249e8 100644
--- a/xorg-server/mi/micopy.c
+++ b/xorg-server/mi/micopy.c
@@ -183,10 +183,10 @@ miDoCopy (DrawablePtr pSrcDrawable,
return NULL;
}
- if ((pSrcDrawable != pDstDrawable) &&
- pSrcDrawable->pScreen->SourceValidate)
+ if (pSrcDrawable->pScreen->SourceValidate)
{
- (*pSrcDrawable->pScreen->SourceValidate) (pSrcDrawable, xIn, yIn, widthSrc, heightSrc);
+ (*pSrcDrawable->pScreen->SourceValidate) (pSrcDrawable, xIn, yIn, widthSrc, heightSrc,
+ pGC->subWindowMode);
}
/* Compute source clip region */