summaryrefslogtreecommitdiff
path: root/mi/micopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'mi/micopy.c')
-rw-r--r--mi/micopy.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mi/micopy.c b/mi/micopy.c
index 12cdad4ad..4db128c4f 100644
--- a/mi/micopy.c
+++ b/mi/micopy.c
@@ -152,10 +152,9 @@ miDoCopy(DrawablePtr pSrcDrawable,
Bool fastDst = FALSE; /* for fast clipping with one rect dest */
Bool fastExpose = FALSE; /* for fast exposures with pixmap source */
- /* Short cut for unmapped windows */
-
+ /* Short cut for unmapped or fully clipped windows */
if (pDstDrawable->type == DRAWABLE_WINDOW &&
- !((WindowPtr) pDstDrawable)->realized) {
+ RegionNil(&((WindowPtr)pDstDrawable)->clipList)) {
return NULL;
}