mirror of
https://github.com/X11Libre/xf86-input-elographics.git
synced 2026-03-24 01:34:03 +00:00
Drop driver-specific motion history size handling.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Cyril Brulebois <kibi@debian.org>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user