diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c index 0e094d248..1654103b7 100644 --- a/hw/xfree86/common/xf86Xinput.c +++ b/hw/xfree86/common/xf86Xinput.c @@ -280,9 +280,6 @@ xf86ProcessCommonOptions(InputInfoPtr pInfo, pInfo->flags |= XI86_ALWAYS_CORE; xf86Msg(X_CONFIG, "%s: always reports core events\n", pInfo->name); } - - /* Backwards compatibility. */ - pInfo->history_size = GetMotionHistorySize(); } /*********************************************************************** @@ -670,7 +667,6 @@ xf86AllocateInput(InputDriverPtr drv, IDevPtr idev) new->type_name = "UNKNOWN"; new->device_control = NULL; new->read_input = NULL; - new->history_size = 0; new->control_proc = NULL; new->close_proc = NULL; new->switch_mode = NULL; diff --git a/hw/xfree86/common/xf86Xinput.h b/hw/xfree86/common/xf86Xinput.h index ad59339a8..0ddfe70d0 100644 --- a/hw/xfree86/common/xf86Xinput.h +++ b/hw/xfree86/common/xf86Xinput.h @@ -130,7 +130,6 @@ typedef struct _InputInfoRec { InputDriverPtr drv; pointer module; pointer options; - unsigned int history_size; InputAttributes *attrs; } InputInfoRec, *InputInfoPtr;