[PATCH libinput 1/3] touchpad: ignore thumbs during edge scrolling

2017-08-31 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-edge-scroll.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/evdev-mt-touchpad-edge-scroll.c b/src/evdev-mt-touchpad-edge-scroll.c index 4704c68e..cab9a87d 100644 --- a/src/evdev-mt-touchpad-edge-scroll.c +++ b/sr

[PATCH libinput 2/3] touchpad: store the time in the motion history

2017-08-31 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 20 +++- src/evdev-mt-touchpad.h | 5 - 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 80e74efd..fed25824 100644 --- a/src/evdev-mt-touchpad.c

[PATCH libinput 3/3] touchpad: use motion speed to ignore accidental 2fg touches

2017-08-31 Thread Peter Hutterer
Calculate the speed of the touch and compare it against a fixed speed limit. If a touch exceeds the speed when a second touch is set down, that second touch is marked as a thumb and ignored (unless it's right next to the other finger, then it's likely a 2fg scroll). The speed calculation is simple

Re: [RFC wayland-protocols] presentation-time: Add request to subscribe to wl_output presentation timings

2017-08-31 Thread Alexandros Frantzis
On Fri, Aug 25, 2017 at 12:08:39PM +0300, Pekka Paalanen wrote: > On Fri, 18 Aug 2017 16:09:42 +0300 > Alexandros Frantzis wrote: > > > Hi Pekka, > > > > I have updated the RFC patch with the changes discussed until now. > > > > I haven't got any feedback yet from the Chromium team about associ

[PATCH xserver] xwayland: Fix a segfault with pointer locking

2017-08-31 Thread Olivier Fourdan
Xwayland would crash in some circumstances while trying to issue a pointer locking when the cursor is hidden when there is no seat focus window set. The crash signature looks like: #0 zwp_pointer_constraints_v1_lock_pointer () #1 xwl_pointer_warp_emulator_lock () at xwayland-input.c:2584 #2