[PATCH 29/37] mi: Shortcut miDoCopy based on paintable not realized
Adam Jackson
ajax at redhat.com
Wed Oct 8 08:04:53 PDT 2014
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
mi/micopy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mi/micopy.c b/mi/micopy.c
index a52b0a7..8ae0aa7 100644
--- a/mi/micopy.c
+++ b/mi/micopy.c
@@ -155,7 +155,7 @@ miDoCopy(DrawablePtr pSrcDrawable,
/* Short cut for unmapped windows */
if (pDstDrawable->type == DRAWABLE_WINDOW &&
- !((WindowPtr) pDstDrawable)->realized) {
+ !((WindowPtr) pDstDrawable)->paintable) {
return NULL;
}
--
1.9.3
More information about the xorg-devel
mailing list