diff options
-rw-r--r-- | exa/exa_render.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/exa/exa_render.c b/exa/exa_render.c index a41b9b964..199af36e2 100644 --- a/exa/exa_render.c +++ b/exa/exa_render.c @@ -911,6 +911,12 @@ exaComposite(CARD8 op, if (ret) goto done; + + /* Let's be correct and restore the variables to their original state. */ + xDst -= pDst->pDrawable->x; + yDst -= pDst->pDrawable->y; + xSrc -= pSrc->pDrawable->x; + ySrc -= pSrc->pDrawable->y; } } } |