mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user