summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Maathuis <madman2003@gmail.com>2009-08-07 20:36:03 +0200
committerMaarten Maathuis <madman2003@gmail.com>2009-08-07 20:38:14 +0200
commit3943df7f76c1b4930fb7370d9d145cee96dd562b (patch)
treed231cc24974c24532209b067c315071774a59a79
parent1548e8ae5d28ed0eb6057a1a19cfc84a78ef34dc (diff)
exa: one can never be too careful
-rw-r--r--exa/exa_migration_mixed.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/exa/exa_migration_mixed.c b/exa/exa_migration_mixed.c
index 915bed9a1..91fadc224 100644
--- a/exa/exa_migration_mixed.c
+++ b/exa/exa_migration_mixed.c
@@ -99,7 +99,8 @@ exaCreateDriverPixmap_mixed(PixmapPtr pPixmap)
return;
pExaPixmap->offscreen = TRUE;
- pExaPixmap->sys_ptr = NULL;
+ pExaPixmap->sys_ptr = pPixmap->devPrivate.ptr = NULL;
+ pExaPixmap->sys_pitch = pPixmap->devKind = 0;
pExaPixmap->score = EXA_PIXMAP_SCORE_PINNED;
(*pScreen->ModifyPixmapHeader)(pPixmap, w, h, 0, 0,