[PATCH libinput 3/3] touchpad: for 2/3-finger tap, use the last finger down as press time

2017-04-27 Thread Peter Hutterer
This makes the tapping times shorter and hopefully more obvious. It also fixes a bug where repeated tripletap (by tapping with one finger while leaving the other two down) could cause incorrect timestamps. https://bugs.freedesktop.org/show_bug.cgi?id=100796 Signed-off-by: Peter Hutterer --- src

[PATCH libinput 1/3] test: enable drag lock for multitap tests

2017-04-27 Thread Peter Hutterer
Without this enabled, we stay in the single/double tap part of the state machine and a triple tap is just a double tap followed by a single tap. Signed-off-by: Peter Hutterer --- test/test-touchpad-tap.c | 5 + 1 file changed, 5 insertions(+) diff --git a/test/test-touchpad-tap.c b/test/tes

[PATCH libinput 2/3] touchpad: send multitap button events with the correct timestamps

2017-04-27 Thread Peter Hutterer
For multitap, we're one tap behind with the button clicks, i.e. we send the first full click button on the second tap, etc. Remember the timestamps of the touches so we can send the events with the right timestamps. This makes tapping more accurate because the time between taps and various timeouts

Re: [PATCH 2/2 v3] Add keyboard shortcuts inhibitor

2017-04-27 Thread Olivier Fourdan
Hi Jonas, > > [...] > > + A keyboard shortcuts inhibitor instructs the compositor to ignore > > + its own keyboard shortcuts when the associated surface has keyboard > > + focus. As a result, when the surface is focused, it will receive all > > + keyboard events, even those which would nor

Re: [PATCH weston] make error() portable

2017-04-27 Thread Pekka Paalanen
On Mon, 1 Jun 2015 10:32:15 +0300 Pekka Paalanen wrote: > On Sat, 30 May 2015 12:08:22 -0700 > Khem Raj wrote: > > > > > > On May 30, 2015, at 12:02 PM, Jon A. Cruz wrote: > > > > > > On 05/29/2015 09:14 PM, Khem Raj wrote: > > >> error() is not posix but gnu extension so may not be avai

Re: [ANNOUNCE] wayland 1.13.0

2017-04-27 Thread Pekka Paalanen
On Wed, 26 Apr 2017 18:47:57 +0200 Daniel Stone wrote: > Hi, > > On 21 February 2017 at 22:59, Bryce Harrington wrote: > > Our next major release will be version 1.14, which will be scheduled > > tentatively as follows: > > > > √ Development opens immediately > > > > - 1.14-alpha in early M