summaryrefslogtreecommitdiff
path: root/src/synaptics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/synaptics.c')
-rw-r--r--src/synaptics.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index e3b0f42..07bb112 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -461,6 +461,10 @@ SynapticsPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
goto SetupProc_fail;
}
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0
+ local->history_size = xf86SetIntOption(opts, "HistorySize", 0);
+#endif
+
xf86ProcessCommonOptions(local, opts);
local->flags |= XI86_CONFIGURED;