[PATCH libinput] filter: always average the velocity of the first two events

2018-04-25 Thread Peter Hutterer
Don't apply any velocity diff checking on the first two events, always average them (unless the timeout is hit or the direction changes). This averages out some of the jumps we get on slow motion. Signed-off-by: Peter Hutterer --- Still waiting on test results but this

Re: [PATCH weston 21/25] protocol: add weston_touch_calibration

2018-04-25 Thread Peter Hutterer
On Tue, Apr 24, 2018 at 02:03:41PM +0300, Pekka Paalanen wrote: > On Wed, 18 Apr 2018 11:30:42 +0300 > Pekka Paalanen wrote: > > > On Mon, 16 Apr 2018 13:40:44 +1000 > > Peter Hutterer wrote: > > > > > On Fri, Apr 13, 2018 at 10:51:37AM +0300,

[PATCH libinput] gestures: if two fingers are in definitive pinch position, pinch

2018-04-25 Thread Peter Hutterer
Two fingers on the touchpad, they're 40x40mm apart, that's a pinch. But only after a timeout because we don't want to start a 2fg gesture if the user puts down the third/fourth finger within the next few ms. Related to: https://bugs.freedesktop.org/show_bug.cgi?id=99830 Signed-off-by: Peter

Finding a window's icon

2018-04-25 Thread Nicholas Bishop
Hi, As I understand it, windows under Wayland don't directly expose an icon. Instead xdg-shell provides an application ID [1] that can be used to identify the application. The application ID is suggested to be the basename of the appropriate .desktop file. >From that I'm guessing that a wayland

Re: [PATCH weston v5 0/3] simple-dmabuf-drm: Support etnaviv and freedreno cleanups

2018-04-25 Thread Guido Günther
On Tue, Mar 20, 2018 at 09:41:57AM +0100, Guido Günther wrote: > Former patches 1-2 where already applied thanks Derek. > > Changes from v4 > - configure: use true if etnaviv drm was not found as with > other drm backends (avoids an unused variable assignment) > - configure: use