[PATCH] Fix coasting friction

Magnus Kessler Magnus.Kessler at gmx.net
Sun Apr 15 23:08:00 PDT 2012


On Monday 16 Apr 2012 11:44:34 Chow Loong Jin wrote:
> As a result of commit 5a1612d4496b51682c9043aa064025c545249de6, coasting
> speed was bumped up to a different scale by removing the divisor during the
> calculation of initial coasting speed. This caused coasting friction to
> have little to no effect, resulting in coasting that lasted virtually
> forever using the default coasting friction value of 50.
> 
> This patch multiplies the scroll_dist_{horiz,vert} which was previously used
> as a divisor for initial coasting speed to the coasting friction before
> deducting it at each step, thus bringing coasting friction back under
> control. ---
>  src/synaptics.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks. This patch makes coasting finally usable again for me.

Hardware is "synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7"

Tested-by: <Magnus.Kessler at gmx.net>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120416/20cf7cc6/attachment.htm>


More information about the xorg-devel mailing list