mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-03 06:38:02 +02:00
exa: restore {x,y}{Src,Dst} to their original values when !done
This commit is contained in:
parent
b677bff97b
commit
87a016ae00
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue