summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-12-03 09:27:24 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-12-03 09:35:15 +1000
commit61b249e75e357fc8974e3892517f251ecf36fda5 (patch)
treead631ec1940b6259e0093aa90a4fa04b69044fbf
parent8d90c971582b90c96901036203841064cb9f7a84 (diff)
Drop driver-specific motion history size handling.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Cyril Brulebois <kibi@debian.org>
-rw-r--r--src/xf86Elo.c3
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;
}