[PATCH elographics 4/7] Drop driver-specific motion history size handling.
Peter Hutterer
peter.hutterer at who-t.net
Thu Dec 2 15:39:02 PST 2010
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/xf86Elo.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/xf86Elo.c b/src/xf86Elo.c
index 3569017..7b5e5e2 100644
--- a/src/xf86Elo.c
+++ b/src/xf86Elo.c
@@ -781,7 +781,7 @@ xf86EloControl(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 Elographics touchscreen ValuatorClassDeviceStruct\n");
return !Success;
}
@@ -973,7 +973,6 @@ xf86EloAllocate(InputDriverPtr drv, IDevPtr dev)
pInfo->dev = NULL;
pInfo->private = priv;
pInfo->type_name = "Elographics TouchScreen";
- pInfo->history_size = 0;
return pInfo;
}
--
1.7.3.2
More information about the xorg-devel
mailing list