summaryrefslogtreecommitdiff
path: root/exa/exa_migration.c
diff options
context:
space:
mode:
authorThomas Hellstrom <unichrome@shipmail.org>2005-11-06 16:40:59 +0000
committerThomas Hellstrom <unichrome@shipmail.org>2005-11-06 16:40:59 +0000
commit890ed0e082e048fa8daf48229b40558381bd131d (patch)
treedc994efb491289999e45663b2570f38da3f92772 /exa/exa_migration.c
parent70aedcf32a0c924fd073f5b36d20813e8323026b (diff)
Fix a bug where a system memory pixmap got a wrong address if memcpy()
fallback was used for downloading from screen.
Diffstat (limited to 'exa/exa_migration.c')
-rw-r--r--exa/exa_migration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exa/exa_migration.c b/exa/exa_migration.c
index 4d2014d44..f865e233e 100644
--- a/exa/exa_migration.c
+++ b/exa/exa_migration.c
@@ -156,7 +156,7 @@ exaPixmapSave (ScreenPtr pScreen, ExaOffscreenArea *area)
}
pPixmap->devKind = dst_pitch;
- pPixmap->devPrivate.ptr = dst;
+ pPixmap->devPrivate.ptr = pExaPixmap->devPrivate.ptr;
pPixmap->drawable.serialNumber = NEXT_SERIAL_NUMBER;
pExaPixmap->area = NULL;
/* Mark it dirty now, to say that there is important data in the