[PATCH mutouch 08/10] Drop driver-specific motion history size handling.
Peter Hutterer
peter.hutterer at who-t.net
Thu Dec 2 15:10:37 PST 2010
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/xf86MuTouch.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/xf86MuTouch.c b/src/xf86MuTouch.c
index 445b3e2..2cc8398 100644
--- a/src/xf86MuTouch.c
+++ b/src/xf86MuTouch.c
@@ -717,7 +717,7 @@ xf86MuTControl(DeviceIntPtr dev,
* screen to fit one meter.
*/
if (InitValuatorClassDeviceStruct(dev, 2, axis_labels,
- pInfo->history_size, Absolute) == FALSE) {
+ GetMotionHistorySize(), Absolute) == FALSE) {
ErrorF("Unable to allocate ValuatorClassDeviceStruct\n");
return !Success;
}
@@ -1002,7 +1002,6 @@ xf86MuTAllocate(InputDriverPtr drv,
pInfo->private = priv;
pInfo->private_flags = flag;
pInfo->type_name = type_name;
- pInfo->history_size = 0;
return pInfo;
}
--
1.7.3.2
More information about the xorg-devel
mailing list