dix: SwitchCorePointer is long gone, bury it.

This commit is contained in:
Peter Hutterer 2008-10-31 16:29:42 +10:30
parent eb014021c2
commit 5d0a945a03
2 changed files with 0 additions and 18 deletions

View File

@ -1048,22 +1048,6 @@ GetProximityEvents(EventList *events, DeviceIntPtr pDev, int type,
return num_events; return num_events;
} }
/**
* Note that pDev was the last function to send a core pointer event.
* Currently a no-op.
*
* Call this just before processInputProc.
*/
_X_EXPORT void
SwitchCorePointer(DeviceIntPtr pDev)
{
if (pDev != dixLookupPrivate(&inputInfo.pointer->devPrivates,
CoreDevicePrivateKey))
dixSetPrivate(&inputInfo.pointer->devPrivates,
CoreDevicePrivateKey, pDev);
}
/** /**
* Synthesize a single motion event for the core pointer. * Synthesize a single motion event for the core pointer.
* *

View File

@ -510,8 +510,6 @@ extern int GetMotionHistory(
ScreenPtr pScreen, ScreenPtr pScreen,
BOOL core); BOOL core);
extern void SwitchCorePointer(DeviceIntPtr pDev);
extern int AttachDevice(ClientPtr client, extern int AttachDevice(ClientPtr client,
DeviceIntPtr slave, DeviceIntPtr slave,
DeviceIntPtr master); DeviceIntPtr master);