summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-09-01 14:35:40 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-09-01 15:27:20 +1000
commit6922b31a136b2b0ac185d61785969a11f84c7943 (patch)
treee5539bf49f75a30abe9eed1a576f2779bce4823d
parent892e39025b45109ba38c0b5d0b5f4535e092f58c (diff)
xfree86: remove history_size
For a couple of ABIs now the history size was essentially static anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--hw/xfree86/common/xf86Xinput.c4
-rw-r--r--hw/xfree86/common/xf86Xinput.h1
2 files changed, 0 insertions, 5 deletions
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;