From 61b249e75e357fc8974e3892517f251ecf36fda5 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 3 Dec 2010 09:27:24 +1000 Subject: Drop driver-specific motion history size handling. Signed-off-by: Peter Hutterer Reviewed-by: Cyril Brulebois --- src/xf86Elo.c | 3 +-- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3