summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-25 22:49:54 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-25 22:49:54 +0930
commit0877de13ac6ddfb55108aa3456d47f970c6c442c (patch)
tree6e28eef360b45c19031e73bb6eb101f729464391 /Xi
parent00b4339168c10dd4ce026deb8e04bfb63dfd11dc (diff)
Remove GetMotionProc from ValuatorClassRec.
With the MD/SD device hierarchy we need control over the generation of the motion history as well as the conversion later before posting it to the client. So let's not let the drivers change it. No x.org driver currently uses it anyway, linuxwacom doesn't either so dumping it seems safe enough.
Diffstat (limited to 'Xi')
-rw-r--r--Xi/gtmotion.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xi/gtmotion.c b/Xi/gtmotion.c
index 4f4d7cb77..7994890d3 100644
--- a/Xi/gtmotion.c
+++ b/Xi/gtmotion.c
@@ -137,9 +137,9 @@ ProcXGetDeviceMotionEvents(ClientPtr client)
coords = (INT32 *) xalloc(tsize);
if (!coords)
return BadAlloc;
- rep.nEvents = (v->GetMotionProc) (dev, (xTimecoord *) coords, /* XXX */
- start.milliseconds, stop.milliseconds,
- (ScreenPtr) NULL);
+ rep.nEvents = GetMotionHistory(dev, (xTimecoord *) coords,/* XXX */
+ start.milliseconds, stop.milliseconds,
+ (ScreenPtr) NULL);
}
if (rep.nEvents > 0) {
length = (rep.nEvents * size + 3) >> 2;