summaryrefslogtreecommitdiff
path: root/mi/misprite.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-03-27 11:43:33 -0400
committerAdam Jackson <ajax@redhat.com>2009-03-27 11:43:33 -0400
commit8beced6c02610444105f3d0b8ee3a49e1072096d (patch)
treef5b01edc0f93a11b8503c593858987ad68d1b812 /mi/misprite.c
parenta232116b9ecd41ce55f8eeee9dfe2b67d76479d6 (diff)
misprite: RECT_IN_REGION -> miRectIn
Diffstat (limited to 'mi/misprite.c')
-rw-r--r--mi/misprite.c5
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);