summaryrefslogtreecommitdiff
path: root/exa/exa.c
diff options
context:
space:
mode:
Diffstat (limited to 'exa/exa.c')
-rw-r--r--exa/exa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/exa/exa.c b/exa/exa.c
index 7d72954c5..ffb80dd37 100644
--- a/exa/exa.c
+++ b/exa/exa.c
@@ -230,8 +230,6 @@ exaPrepareAccess(DrawablePtr pDrawable, int index)
pPixmap = exaGetDrawablePixmap (pDrawable);
- if (index == EXA_PREPARE_DEST)
- exaDrawableDirty (pDrawable);
if (exaPixmapIsOffscreen (pPixmap))
exaWaitSync (pDrawable->pScreen);
else
@@ -255,6 +253,9 @@ exaFinishAccess(DrawablePtr pDrawable, int index)
ExaScreenPriv (pScreen);
PixmapPtr pPixmap;
+ if (index == EXA_PREPARE_DEST)
+ exaDrawableDirty (pDrawable);
+
if (pExaScr->info->FinishAccess == NULL)
return;