summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2008-09-08 00:03:17 +0200
committerChristoph Brill <egore911@egore911.de>2008-09-10 20:50:54 +0200
commit659c44d1049e4f6a588d40c8e0e18b390c45fa40 (patch)
treec3b5cfca49faf334c937cdd7872b4c2fdfb40df5
parentfd3517b14d09cc3b6625252f8fd94c863f1c9810 (diff)
Optional: Set corner buttons to off by default
The corner button functionality might be good on some touchpads, but it seems there are more cases where it leads to unexpected behavior. To avoid confusion, having this feature turned off by default makes more sense. However, there might be strong opinions it, so this patch will have to be considered optional. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r--src/synaptics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index a912b97..045a051 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -467,8 +467,8 @@ SynapticsPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
pars->guestmouse_off = xf86SetBoolOption(opts, "GuestMouseOff", FALSE);
pars->locked_drags = xf86SetBoolOption(opts, "LockedDrags", FALSE);
pars->locked_drag_time = xf86SetIntOption(opts, "LockedDragTimeout", 5000);
- pars->tap_action[RT_TAP] = xf86SetIntOption(opts, "RTCornerButton", 2);
- pars->tap_action[RB_TAP] = xf86SetIntOption(opts, "RBCornerButton", 3);
+ pars->tap_action[RT_TAP] = xf86SetIntOption(opts, "RTCornerButton", 0);
+ pars->tap_action[RB_TAP] = xf86SetIntOption(opts, "RBCornerButton", 0);
pars->tap_action[LT_TAP] = xf86SetIntOption(opts, "LTCornerButton", 0);
pars->tap_action[LB_TAP] = xf86SetIntOption(opts, "LBCornerButton", 0);
pars->tap_action[F1_TAP] = xf86SetIntOption(opts, "TapButton1", 1);