If core motion history is required, scale back to screen coords and INT16.
This commit is contained in:
@@ -135,7 +135,7 @@ ProcXGetDeviceMotionEvents(ClientPtr client)
|
||||
size = sizeof(Time) + (axes * sizeof(INT32));
|
||||
rep.nEvents = GetMotionHistory(dev, (xTimecoord **) &coords,/* XXX */
|
||||
start.milliseconds, stop.milliseconds,
|
||||
(ScreenPtr) NULL);
|
||||
(ScreenPtr) NULL, FALSE);
|
||||
}
|
||||
if (rep.nEvents > 0) {
|
||||
length = (rep.nEvents * size + 3) >> 2;
|
||||
|
||||
Reference in New Issue
Block a user