summaryrefslogtreecommitdiff
path: root/mi/mibitblt.c
diff options
context:
space:
mode:
Diffstat (limited to 'mi/mibitblt.c')
-rw-r--r--mi/mibitblt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mi/mibitblt.c b/mi/mibitblt.c
index 0954b2545..0b13e49e4 100644
--- a/mi/mibitblt.c
+++ b/mi/mibitblt.c
@@ -96,9 +96,9 @@ miCopyArea(DrawablePtr pSrcDrawable,
srcx = xIn + pSrcDrawable->x;
srcy = yIn + pSrcDrawable->y;
- /* If the destination is clipped away, this is easy */
+ /* If the destination isn't realized, this is easy */
if (pDstDrawable->type == DRAWABLE_WINDOW &&
- RegionNil(pGC->pCompositeClip))
+ !((WindowPtr) pDstDrawable)->realized)
return NULL;
/* clip the source */