mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-01 03:03:58 +00:00
If core motion history is required, scale back to screen coords and INT16.
This commit is contained in:
parent
0b88510069
commit
1883485edd
6 changed files with 51 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue