[PATCH] Allow ConstantDeceleration and AdaptiveDeceleration < 1.0

Peter Hutterer peter.hutterer at who-t.net
Fri Jun 10 00:04:55 UTC 2016


On Thu, Jun 09, 2016 at 06:57:59PM -0500, Eric Biggers wrote:
> 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.

whoops, yes, you're right. AccelSetDecelProperty() is the function.

Cheers,
   Peter


More information about the xorg-devel mailing list