diff options
-rw-r--r-- | dix/getevents.c | 16 | ||||
-rw-r--r-- | include/input.h | 2 |
2 files changed, 0 insertions, 18 deletions
diff --git a/dix/getevents.c b/dix/getevents.c index 4770a699d..920cf0578 100644 --- a/dix/getevents.c +++ b/dix/getevents.c @@ -1049,22 +1049,6 @@ GetProximityEvents(EventList *events, DeviceIntPtr pDev, int type, } /** - * 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. * * Used in cursor functions, e.g. when cursor confinement changes, and we need diff --git a/include/input.h b/include/input.h index cd9bfde01..2ffd97e84 100644 --- a/include/input.h +++ b/include/input.h @@ -510,8 +510,6 @@ extern int GetMotionHistory( ScreenPtr pScreen, BOOL core); -extern void SwitchCorePointer(DeviceIntPtr pDev); - extern int AttachDevice(ClientPtr client, DeviceIntPtr slave, DeviceIntPtr master); |