diff options
-rw-r--r-- | 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; } |