summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-04-26 10:03:28 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-04-26 12:56:35 +1000
commitba31b09ba8aff6b8f3b0590e724183b0d2802ffc (patch)
tree6dcd32ff8e45cc9fe833fbc2da58d2015ae80a0c
parentf0c2f1d82a21de315a0088dd28ffeb394cf32c8e (diff)
ClickPad is most definitely a bool option.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
-rw-r--r--src/synaptics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index d2fe960..2a43f95 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -702,7 +702,7 @@ static void set_default_parameters(InputInfoPtr pInfo)
pars->tap_move = xf86SetIntOption(opts, "MaxTapMove", tapMove);
pars->tap_time_2 = xf86SetIntOption(opts, "MaxDoubleTapTime", 180);
pars->click_time = xf86SetIntOption(opts, "ClickTime", 100);
- pars->clickpad = xf86SetIntOption(opts, "ClickPad", pars->clickpad); /* Probed */
+ pars->clickpad = xf86SetBoolOption(opts, "ClickPad", pars->clickpad); /* Probed */
pars->fast_taps = xf86SetBoolOption(opts, "FastTaps", FALSE);
/* middle mouse button emulation on a clickpad? nah, you're joking */
middle_button_timeout = pars->clickpad ? 0 : 75;