summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJools Wills <jools@oxfordinspire.co.uk>2011-10-30 23:19:21 +0000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-10-31 09:58:49 +1000
commit2aba790ed3acc3ece5e56dac088e0a0a4a04b45d (patch)
treeaecc277118f50bee4304d34ceca2706475989ce9
parent49693892ce35e95674fbb3d2a067c8fa0227da87 (diff)
downloadxorg-driver-xf86-input-evdev-2aba790ed3acc3ece5e56dac088e0a0a4a04b45d.tar.gz
emuThird: Use xf86SetIntOption, not xf86SetBoolOption for integer values
Signed-off-by: Jools Wills <jools@oxfordinspire.co.uk> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/emuThird.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emuThird.c b/src/emuThird.c
index a65c24e..d89fd9e 100644
--- a/src/emuThird.c
+++ b/src/emuThird.c
@@ -279,11 +279,11 @@ Evdev3BEmuPreInit(InputInfoPtr pInfo)
emu3B->timeout = xf86SetIntOption(pInfo->options,
"EmulateThirdButtonTimeout",
1000);
- emu3B->button = xf86SetBoolOption(pInfo->options,
+ emu3B->button = xf86SetIntOption(pInfo->options,
"EmulateThirdButtonButton",
3);
/* FIXME: this should be auto-configured based on axis ranges */
- emu3B->threshold = xf86SetBoolOption(pInfo->options,
+ emu3B->threshold = xf86SetIntOption(pInfo->options,
"EmulateThirdButtonMoveThreshold",
DEFAULT_MOVE_THRESHOLD);
/* allocate now so we don't allocate in the signal handler */