diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-26 16:35:23 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-26 17:22:25 +0930 |
commit | 1883485edd7eb90c0b76bca41c71e26ae2c0b91a (patch) | |
tree | 177b0cdb290d3bd647768f0d6f559ad741928e1e /Xi/gtmotion.c | |
parent | 0b88510069bdf6d020d73b424f62c2923c0db4a4 (diff) |
If core motion history is required, scale back to screen coords and INT16.
Diffstat (limited to 'Xi/gtmotion.c')
-rw-r--r-- | Xi/gtmotion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/gtmotion.c b/Xi/gtmotion.c index 8b59d67ec..7cc5c2670 100644 --- a/Xi/gtmotion.c +++ b/Xi/gtmotion.c @@ -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; |