mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-08 23:12:27 +00:00
misprite: RECT_IN_REGION -> miRectIn
This commit is contained in:
parent
a232116b9e
commit
8beced6c02
1 changed files with 2 additions and 3 deletions
|
|
@ -198,8 +198,7 @@ miSpriteReportDamage (DamagePtr pDamage, RegionPtr pRegion, void *closure)
|
|||
|
||||
if (pCursorInfo->isUp &&
|
||||
pCursorInfo->pScreen == pScreen &&
|
||||
RECT_IN_REGION (pScreen, pRegion, &pCursorInfo->saved)
|
||||
!= rgnOUT)
|
||||
miRectIn(pRegion, &pCursorInfo->saved) != rgnOUT)
|
||||
{
|
||||
SPRITE_DEBUG(("Damage remove\n"));
|
||||
miSpriteRemoveCursor (pDev, pScreen);
|
||||
|
|
@ -465,7 +464,7 @@ miSpriteCopyWindow (WindowPtr pWindow, DDXPointRec ptOldOrg, RegionPtr prgnSrc)
|
|||
* Damage will take care of destination check
|
||||
*/
|
||||
if (pCursorInfo->isUp && pCursorInfo->pScreen == pScreen &&
|
||||
RECT_IN_REGION (pScreen, prgnSrc, &pCursorInfo->saved) != rgnOUT)
|
||||
miRectIn(prgnSrc, &pCursorInfo->saved) != rgnOUT)
|
||||
{
|
||||
SPRITE_DEBUG (("CopyWindow remove\n"));
|
||||
miSpriteRemoveCursor (pDev, pScreen);
|
||||
|
|
|
|||
Loading…
Reference in a new issue