mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-02 06:08:05 +02: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:
parent
d500eeb945
commit
6c1accce87
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue