Empty the borderClip of manual redirect windows. (bug 15823)
Thanks to Owen Taylor for root-causing this one. If a TreatAsTransparent window has any area in the borderClip, that will be added to the totalClip region for use by other windows. That's wrong. Instead, simply empty the borderClip for TreatAsTransparent windows right up front.
This commit is contained in:
parent
d500eeb945
commit
6c1accce87
|
@ -255,7 +255,11 @@ miComputeClips (
|
|||
if (pParent->redirectDraw != RedirectDrawNone)
|
||||
{
|
||||
if (miSetRedirectBorderClipProc)
|
||||
{
|
||||
if (TreatAsTransparent (pParent))
|
||||
REGION_EMPTY (pScreen, universe);
|
||||
(*miSetRedirectBorderClipProc) (pParent, universe);
|
||||
}
|
||||
REGION_COPY(pScreen, universe, &pParent->borderSize);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user