Note that on the initial bs allocation this bit isn't set yet, so we'll generate an initial exposure and bg paint, which is correct.
Signed-off-by: Adam Jackson <[email protected]> --- mi/mivaltree.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/mi/mivaltree.c b/mi/mivaltree.c index b963740..760ee3a 100644 --- a/mi/mivaltree.c +++ b/mi/mivaltree.c @@ -451,13 +451,16 @@ miComputeClips(WindowPtr pParent, * new, just as for the border. */ - if (oldVis == VisibilityFullyObscured || oldVis == VisibilityNotViewable) { - RegionCopy(&pParent->valdata->after.exposed, universe); - } - else if (newVis != VisibilityFullyObscured && - newVis != VisibilityNotViewable) { - RegionSubtract(&pParent->valdata->after.exposed, - universe, &pParent->clipList); + if (!pParent->backStorage) { + if (oldVis == VisibilityFullyObscured || + oldVis == VisibilityNotViewable) { + RegionCopy(&pParent->valdata->after.exposed, universe); + } + else if (newVis != VisibilityFullyObscured && + newVis != VisibilityNotViewable) { + RegionSubtract(&pParent->valdata->after.exposed, + universe, &pParent->clipList); + } } /* HACK ALERT - copying contents of regions, instead of regions */ -- 1.9.3 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
