Index: mivaltree.c =================================================================== RCS file: /cvs/xorg/xserver/xorg/mi/mivaltree.c,v retrieving revision 1.6 diff -u -p -u -r1.6 mivaltree.c --- mivaltree.c 3 Jul 2005 07:01:51 -0000 1.6 +++ mivaltree.c 16 Dec 2005 22:35:18 -0000 @@ -493,7 +493,14 @@ miComputeClips ( * new, just as for the border. */ - if (oldVis == VisibilityFullyObscured || + /* For composite this optimization is incorrect since + * the window should not in fact be exposed just because it + * was FullyObscured before. + */ + if ( +#ifndef COMPOSITE + oldVis == VisibilityFullyObscured || +#endif oldVis == VisibilityNotViewable) { REGION_COPY( pScreen, &pParent->valdata->after.exposed, universe);