mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 07:10:05 +01:00
mi: clip exposures to pGC->clientClip.
This commit is contained in:
parent
ffa72793e2
commit
00226d0b58
1 changed files with 4 additions and 0 deletions
|
|
@ -254,6 +254,10 @@ miHandleExposures(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
|
|||
/* intersect with visible areas of dest */
|
||||
REGION_INTERSECT(pscr, &rgnExposed, &rgnExposed, prgnDstClip);
|
||||
|
||||
/* intersect with client clip region. */
|
||||
if (pGC->clientClipType == CT_REGION)
|
||||
REGION_INTERSECT(pscr, &rgnExposed, &rgnExposed, pGC->clientClip);
|
||||
|
||||
/*
|
||||
* If we have LOTS of rectangles, we decide to take the extents
|
||||
* and force an exposure on that. This should require much less
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue