exa: fix thinko from 988725f32e

- the drawable of the pixmap is not the same as the original drawable (possibly a DRAWABLE_WINDOW)
This commit is contained in:
Maarten Maathuis 2008-08-26 20:02:55 +02:00
commit dd1e54d6ee
4 changed files with 8 additions and 8 deletions

View file

@ -307,7 +307,7 @@ exaShmPutImage(DrawablePtr pDrawable, GCPtr pGC, int depth, unsigned int format,
if (pending_damage) {
REGION_INIT(pScreen, &region, &box, 1);
exaDamageDestForMigration(pPixmap, &region);
exaDamageDestForMigration(pDrawable, pPixmap, &region);
}
if (!exaDoShmPutImage(pDrawable, pGC, depth, format, w, h, sx, sy, sw, sh,