summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uxa/uxa-render.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c
index 010d663f..1ded55e7 100644
--- a/uxa/uxa-render.c
+++ b/uxa/uxa-render.c
@@ -1419,7 +1419,8 @@ uxa_composite(CARD8 op,
}
} else if (pSrc->pDrawable->width == 1 &&
pSrc->pDrawable->height == 1 &&
- pSrc->repeat) {
+ pSrc->repeat &&
+ (op == PictOpSrc || (op == PictOpOver && !PICT_FORMAT_A(pSrc->format)))) {
ret = uxa_try_driver_solid_fill(pSrc, pDst,
xSrc, ySrc,
xDst, yDst,