Signed-off-by: Adam Jackson <[email protected]>
---
mi/mibitblt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mi/mibitblt.c b/mi/mibitblt.c
index 08bd1c5..391fb01 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 isn't realized, this is easy */
+ /* If the destination isn't paintable, this is easy */
if (pDstDrawable->type == DRAWABLE_WINDOW &&
- !((WindowPtr) pDstDrawable)->realized)
+ !((WindowPtr) pDstDrawable)->paintable)
return NULL;
/* clip the source */
--
1.9.3
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel