[PATCH libinput 2/2] touchpad: set the finger pin distance to 5mm where possible

2015-06-14 Thread Peter Hutterer
On touchpads with resolutions, use a 5mm motion threshold before we unpin the finger (allow motion events while a clickpad button is down). This should remove any erroneous finger movements while clicking, at the cost of having to move the finger a bit more for a single-finger click-and-drag (use t

[PATCH libinput 1/2] touchpad: fix pinned finger drifting

2015-06-14 Thread Peter Hutterer
This caused the finger to be unpinned on the first motion event after the click, effectively disabling this feature. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c

Re: [PATCH weston 0/4] Extract common macros to single header.

2015-06-14 Thread Peter Hutterer
On Fri, Jun 12, 2015 at 09:25:01PM -0700, Jon A. Cruz wrote: > As a follow-up to review feedback from Peter Hutterer this > set moves a few duplicated macros into a common header, > including ARRAY_LENGTH. > > Jon A. Cruz (4): > Remove redundant #include path component. > Moved helper macro to

Re: [PATCH weston 4/4] Unified multiple definitions of container_of() macro.

2015-06-14 Thread Peter Hutterer
On Fri, Jun 12, 2015 at 09:25:05PM -0700, Jon A. Cruz wrote: > Removed duplicate definitions of the container_of() macro and > refactored sources to use the single implementation. > > Signed-off-by: Jon A. Cruz > --- > clients/clickdot.c | 1 + > clients/desktop-shell.c

Re: [PATCH wayland] build: Allow disabling building of wayland libraries

2015-06-14 Thread Peter Hutterer
On Fri, Jun 12, 2015 at 03:01:24PM -0500, Derek Foreman wrote: > When cross-compiling it may be useful to build only the wayland-scanner > natively. This patch makes it possible to disable build of the libraries. > > This also allows us to relax some of the build requirements when compiling > jus

Re: [PATCH libinput] touchpad: make the hysteresis dependent on physical distance

2015-06-14 Thread Peter Hutterer
please fix your email client to not drop CC's on reply. On Sat, Jun 13, 2015 at 09:30:35AM -0700, Bill Spitzak wrote: > Can you set the "fake" resolution so that you get the same answer without > having to check if it is fake? > > It looks like setting tp->device->abs.absinfo_x/y->resolution to d