summaryrefslogtreecommitdiff
path: root/exa
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2006-03-30 21:25:43 +0000
committerEric Anholt <anholt@freebsd.org>2006-03-30 21:25:43 +0000
commitb9203dc068ccd4c0d22d49a94b910783432b96a8 (patch)
tree6d71e41d474a6e216c49286c4ccc3f10eff928aa /exa
parent5c04610f8aeceed9ec7cd0ca8c5eb314cacc3c25 (diff)
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.
Diffstat (limited to 'exa')
-rw-r--r--exa/exa_accel.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/exa/exa_accel.c b/exa/exa_accel.c
index bae755970..a7bde1673 100644
--- a/exa/exa_accel.c
+++ b/exa/exa_accel.c
@@ -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);