diff options
author | Adam Jackson <ajax@redhat.com> | 2009-03-27 11:43:33 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-03-27 11:43:33 -0400 |
commit | 8beced6c02610444105f3d0b8ee3a49e1072096d (patch) | |
tree | f5b01edc0f93a11b8503c593858987ad68d1b812 /mi | |
parent | a232116b9ecd41ce55f8eeee9dfe2b67d76479d6 (diff) |
misprite: RECT_IN_REGION -> miRectIn
Diffstat (limited to 'mi')
-rw-r--r-- | mi/misprite.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mi/misprite.c b/mi/misprite.c index a8731f10b..ebd137ed9 100644 --- a/mi/misprite.c +++ b/mi/misprite.c @@ -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); |