If core motion history is required, scale back to screen coords and INT16.

This commit is contained in:
Peter Hutterer 2008-05-26 16:35:23 +09:30
commit 1883485edd
6 changed files with 51 additions and 15 deletions

View file

@ -2933,9 +2933,9 @@ xf86MotionHistoryAllocate(LocalDevicePtr local)
_X_EXPORT int
xf86GetMotionEvents(DeviceIntPtr pDev, xTimecoord *buff, unsigned long start,
unsigned long stop, ScreenPtr pScreen)
unsigned long stop, ScreenPtr pScreen, BOOL core)
{
return GetMotionHistory(pDev, buff, start, stop, pScreen);
return GetMotionHistory(pDev, buff, start, stop, pScreen, core);
}
_X_EXPORT void

View file

@ -197,7 +197,7 @@ void xf86DeleteInput(InputInfoPtr pInp, int flags);
void xf86MotionHistoryAllocate(LocalDevicePtr local);
int xf86GetMotionEvents(DeviceIntPtr dev, xTimecoord *buff,
unsigned long start, unsigned long stop,
ScreenPtr pScreen);
ScreenPtr pScreen, BOOL core);
/* xf86Option.c */
void xf86CollectInputOptions(InputInfoPtr pInfo, const char **defaultOpts,