[PATCH] Allow ConstantDeceleration and AdaptiveDeceleration < 1.0

Eric Biggers ebiggers3 at gmail.com
Thu Jun 9 23:57:59 UTC 2016


On Fri, Jun 10, 2016 at 09:44:05AM +1000, Peter Hutterer wrote:
> 
> > For consistency I also made the same change for AdaptiveDeceleration,
> > which had the same behavior.
> 
> but not this one, imo this one doesn't make sense. adaptive deceleration
> means it makes the pointer slower when going slow, allowing for something <
> 1.0 here means you accelerate the pointer more the slower you go? I doubt
> this is a reasonable use-case.

Probably not.  I will submit a new version that only changes
ConstantDeceleration.

>
> The matching property bit is in AccelSetAdaptDecelProperty() in
> dix/ptrveloc.c, please fix this as well (and test it!).
>

That is actually for adaptive deceleration, is it not?  So it shouldn't be
changed.

Eric


More information about the xorg-devel mailing list