mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-16 00:19:55 +00:00
Don't do an extra fallback path for CopyWindow while swappedOut, since
exaCopyNtoN takes care of the fallback anyway, and we don't care about
the performance of this path.
This commit is contained in:
parent
5c04610f8a
commit
b9203dc068
2 changed files with 7 additions and 7 deletions
|
|
@ -817,13 +817,6 @@ exaCopyWindow(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
|
|||
int dx, dy;
|
||||
PixmapPtr pPixmap = (*pWin->drawable.pScreen->GetWindowPixmap) (pWin);
|
||||
|
||||
if (pExaScr->swappedOut) {
|
||||
ExaScreenPriv(pWin->drawable.pScreen);
|
||||
pExaScr->SavedCopyWindow (pWin, ptOldOrg, prgnSrc);
|
||||
exaDrawableDirty (&pWin->drawable);
|
||||
return;
|
||||
}
|
||||
|
||||
dx = ptOldOrg.x - pWin->drawable.x;
|
||||
dy = ptOldOrg.y - pWin->drawable.y;
|
||||
REGION_TRANSLATE(pWin->drawable.pScreen, prgnSrc, -dx, -dy);
|
||||
|
|
|
|||
Loading…
Reference in a new issue