In CopyPicture, add missing call to ChangePicture to notify about the
changes that CopyPicture has done.
This commit is contained in:
parent
f77f1d5072
commit
56520ecd5c
|
@ -1186,6 +1186,7 @@ CopyPicture (PicturePtr pSrc,
|
||||||
PicturePtr pDst)
|
PicturePtr pDst)
|
||||||
{
|
{
|
||||||
PictureScreenPtr ps = GetPictureScreen(pSrc->pDrawable->pScreen);
|
PictureScreenPtr ps = GetPictureScreen(pSrc->pDrawable->pScreen);
|
||||||
|
Mask origMask = mask;
|
||||||
|
|
||||||
pDst->stateChanges |= mask;
|
pDst->stateChanges |= mask;
|
||||||
|
|
||||||
|
@ -1257,6 +1258,8 @@ CopyPicture (PicturePtr pSrc,
|
||||||
}
|
}
|
||||||
mask &= ~bit;
|
mask &= ~bit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(*ps->ChangePicture)(pDst, origMask);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue