Remove UndisplayCursor API.

We can achieve the same thing by simply displaying a NullCursor, there's no
need for a separate API.
This commit is contained in:
Peter Hutterer
2008-05-12 20:14:05 +09:30
parent 913989d643
commit 1fc1a2897e
6 changed files with 3 additions and 60 deletions

View File

@@ -854,9 +854,7 @@ UndisplayDevices()
ScreenPtr screen = screenInfo.screens[0];
for (dev = inputInfo.devices; dev; dev = dev->next)
{
screen->UndisplayCursor(dev, screen);
}
screen->DisplayCursor(dev, screen, NullCursor);
}
/**
@@ -887,7 +885,7 @@ RemoveDevice(DeviceIntPtr dev)
return BadImplementation;
initialized = dev->inited;
screen->UndisplayCursor(dev, screen);
screen->DisplayCursor(dev, screen, NullCursor);
deviceid = dev->id;
DisableDevice(dev);