diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-12 20:14:05 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-13 11:17:02 +0930 |
commit | 1fc1a2897e9185838c29d9ffff07c39d2fdf174f (patch) | |
tree | 48984bc4333b42eaddeb9380dd08cd45cc7a05cb /mi/mipointer.c | |
parent | 913989d643595030e67e7c0a758a16ae0da62ed9 (diff) |
Remove UndisplayCursor API.
We can achieve the same thing by simply displaying a NullCursor, there's no
need for a separate API.
Diffstat (limited to 'mi/mipointer.c')
-rw-r--r-- | mi/mipointer.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/mi/mipointer.c b/mi/mipointer.c index 572af1b88..82439474c 100644 --- a/mi/mipointer.c +++ b/mi/mipointer.c @@ -60,7 +60,6 @@ static Bool miPointerUnrealizeCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor); static Bool miPointerDisplayCursor(DeviceIntPtr pDev, ScreenPtr pScreen, CursorPtr pCursor); -static void miPointerUndisplayCursor(DeviceIntPtr pDev, ScreenPtr pScreen); static void miPointerConstrainCursor(DeviceIntPtr pDev, ScreenPtr pScreen, BoxPtr pBox); static void miPointerPointerNonInterestBox(DeviceIntPtr pDev, @@ -113,8 +112,6 @@ miPointerInitialize (pScreen, spriteFuncs, screenFuncs, waitForUpdate) pScreen->ConstrainCursor = miPointerConstrainCursor; pScreen->CursorLimits = miPointerCursorLimits; pScreen->DisplayCursor = miPointerDisplayCursor; - pScreen->UndisplayCursor = miPointerUndisplayCursor; - pScreen->UndisplayCursor = miPointerUndisplayCursor; pScreen->RealizeCursor = miPointerRealizeCursor; pScreen->UnrealizeCursor = miPointerUnrealizeCursor; pScreen->SetCursorPosition = miPointerSetCursorPosition; @@ -213,16 +210,6 @@ miPointerDisplayCursor (pDev, pScreen, pCursor) } static void -miPointerUndisplayCursor(pDev, pScreen) - DeviceIntPtr pDev; - ScreenPtr pScreen; -{ - SetupScreen(pScreen); - if (pDev->isMaster && pDev->spriteInfo->spriteOwner) - (*pScreenPriv->spriteFuncs->UndisplayCursor)(pDev, pScreen); -} - -static void miPointerConstrainCursor (pDev, pScreen, pBox) DeviceIntPtr pDev; ScreenPtr pScreen; |