summaryrefslogtreecommitdiff
path: root/hw/xfree86/ramdac
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-12 20:14:05 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-13 11:17:02 +0930
commit1fc1a2897e9185838c29d9ffff07c39d2fdf174f (patch)
tree48984bc4333b42eaddeb9380dd08cd45cc7a05cb /hw/xfree86/ramdac
parent913989d643595030e67e7c0a758a16ae0da62ed9 (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 'hw/xfree86/ramdac')
-rw-r--r--hw/xfree86/ramdac/xf86Cursor.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/hw/xfree86/ramdac/xf86Cursor.c b/hw/xfree86/ramdac/xf86Cursor.c
index 010575b2e..4d64f6218 100644
--- a/hw/xfree86/ramdac/xf86Cursor.c
+++ b/hw/xfree86/ramdac/xf86Cursor.c
@@ -38,8 +38,7 @@ static miPointerSpriteFuncRec xf86CursorSpriteFuncs = {
xf86CursorSetCursor,
xf86CursorMoveCursor,
xf86DeviceCursorInitialize,
- xf86DeviceCursorCleanup,
- xf86DeviceCursorUndisplay
+ xf86DeviceCursorCleanup
};
/* Screen functions */
@@ -504,16 +503,3 @@ xf86DeviceCursorCleanup(DeviceIntPtr pDev, ScreenPtr pScreen)
(*ScreenPriv->spriteFuncs->DeviceCursorCleanup)(pDev, pScreen);
}
-/**
- * Called on server shutdown to remove all cursors from the screen before
- * bringing the server down.
- */
-static void
-xf86DeviceCursorUndisplay(DeviceIntPtr pDev, ScreenPtr pScreen)
-{
- xf86CursorScreenPtr ScreenPriv = (xf86CursorScreenPtr)dixLookupPrivate(
- &pScreen->devPrivates, xf86CursorScreenKey);
-
- /* Undisplay SW cursor */
- (*ScreenPriv->spriteFuncs->UndisplayCursor)(pDev, pScreen);
-}