summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-08-20 11:09:04 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-08-20 11:11:38 +1000
commit59151a548dcbac6f68e4f921b5c47aea4e5bc2a3 (patch)
tree31205c3b506187d1ee0a2cce2e444ae8f23b9000
parent56655fd15f676fea143f3963e23b464b275b2e77 (diff)
Enable coasting by default with a value of 20.
The default value for friction coasting makes coasting much more useful now since it stops coasting after a while. Enable it by default, the man page already claims a default of 20 anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/synaptics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synaptics.c b/src/synaptics.c
index 7a800b5..53c3685 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -575,7 +575,7 @@ static void set_default_parameters(LocalDevicePtr local)
pars->accl = xf86SetRealOption(opts, "AccelFactor", accelFactor);
pars->trackstick_speed = xf86SetRealOption(opts, "TrackstickSpeed", 40);
pars->scroll_dist_circ = xf86SetRealOption(opts, "CircScrollDelta", 0.1);
- pars->coasting_speed = xf86SetRealOption(opts, "CoastingSpeed", 0.0);
+ pars->coasting_speed = xf86SetRealOption(opts, "CoastingSpeed", 20.0);
pars->coasting_friction = xf86SetRealOption(opts, "CoastingFriction", 50);
pars->press_motion_min_factor = xf86SetRealOption(opts, "PressureMotionMinFactor", 1.0);
pars->press_motion_max_factor = xf86SetRealOption(opts, "PressureMotionMaxFactor", 1.0);