[PATCH libinput 5/6] touchpad: Don't allow diagonal scrolling

Hans de Goede hdegoede at redhat.com
Sun May 25 23:32:55 PDT 2014


Hi,

On 05/25/2014 10:34 AM, Jonas Ådahl wrote:
> On Fri, May 23, 2014 at 04:06:26PM +0200, Hans de Goede wrote:
>> We pin scrolling to the initial direction, so a 2 finger scroll starting
>> in the vertical direction, will from then on only generate vertical scroll
>> events, and the same for horizontal.
>>
>> But if the first 2 finger motion is diagonal, then we go into a diagonal
>> scrolling mode where we post both horizontal and vertical scrolling events.
>>
>> This is inconsistent, if we want to allow both at the same time (which we
>> don;t), we should always allow both, not only when the first motion is
>> diagonal.
> 
> Is this really the case? Personally I expect to be able to scroll both
> horizontally and vertically at the same time, for example for scrolling
> around in a large photograph, and this is already how it works with the
> current synaptics driver in X.

Since Peter did the original lock scrolling to one direction bits (I think),
I'll let answering this up to Peter.

Regards,

Hans


More information about the wayland-devel mailing list