[PATCH libinput] tools: when the command isn't installed, print that

2017-11-08 Thread Peter Hutterer
Makes it more user-friendly to be able to split the tools into multiple packages Signed-off-by: Peter Hutterer --- tools/shared.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/tools/shared.c b/tools/shared.c index

[PATCH libinput 6/8] timer: print the error messages in ms, not µs

2017-11-08 Thread Peter Hutterer
A lot easier to understand and we're not that precise anyway Signed-off-by: Peter Hutterer --- src/timer.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/timer.c b/src/timer.c index bf08e868..735135fa 100644 --- a/src/timer.c +++

[PATCH libinput 4/8] test: add the wmi hotkeys test device

2017-11-08 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- meson.build | 1 + test/litest-device-hp-wmi-hotkeys.c | 70 + test/litest.h | 1 + test/test-switch.c | 21 +++ 4 files

[PATCH libinput 3/8] timer: print the time delta unit when the timer offset causes an error

2017-11-08 Thread Peter Hutterer
Because we use ms in most other things that matter, having µs here can cause confusion. Signed-off-by: Peter Hutterer --- src/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timer.c b/src/timer.c index 6dc2f8b2..bf08e868 100644 ---

[PATCH libinput 8/8] tools: fix missing words in man page

2017-11-08 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- tools/libinput-measure-touch-size.man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libinput-measure-touch-size.man b/tools/libinput-measure-touch-size.man index f33f13c1..5525ec56 100644 ---

[PATCH libinput 2/8] evdev: print the timestamps for events when debugging events

2017-11-08 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev.c | 43 +++ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index c490cae0..17303096 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -809,22

[PATCH libinput 7/8] timer: require a timer name

2017-11-08 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/timer.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/timer.c b/src/timer.c index 735135fa..f8de6662 100644 --- a/src/timer.c +++ b/src/timer.c @@ -41,8 +41,7 @@ libinput_timer_init(struct

[PATCH libinput 5/8] tools: add an extra linebreak before closing

2017-11-08 Thread Peter Hutterer
Just puts the ^C from the Ctrl+C on a separate line to make it easier to spot Signed-off-by: Peter Hutterer --- tools/libinput-debug-events.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/libinput-debug-events.c b/tools/libinput-debug-events.c index

[PATCH libinput 1/8] test: add a missing libinput_dispatch() to the debounce_timer test

2017-11-08 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- test/test-pointer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test-pointer.c b/test/test-pointer.c index 25ddc765..3ce80840 100644 --- a/test/test-pointer.c +++ b/test/test-pointer.c @@ -2154,6 +2154,7 @@

Re: [PATCH wayland v2 0/8] Import wayland-egl frontend library

2017-11-08 Thread Emil Velikov
On 10 October 2017 at 14:43, Emil Velikov wrote: > Hi all, > > Here is a retake of the RFC as originally seen here [1]. > > In summary - we want the user facing library to live in Wayland with > vendors providing a backend/plugin. Otherwise we'll get file conflicts > as

Re: [PATCH libinput 0/1] Fix debouncing algorithm

2017-11-08 Thread Peter Hutterer
On Tue, Nov 07, 2017 at 10:26:11PM +0100, Vicente Bergas wrote: > Hi Peter, > > On Thu, Nov 2, 2017 at 2:04 AM, Peter Hutterer > wrote: > > On Thu, Nov 02, 2017 at 12:34:01AM +0100, Vicente Bergas wrote: > ... > >> I hope it is fixed, but not been able to run the

Re: New paths for Wayland sockets (Re: Enabling Android-style per application user ids)

2017-11-08 Thread Jonas Ådahl
I'd just like to point out that changing WAYLAND_DISPLAY to be able to point to a socket using an absolute path is not completely backward compatible. In the wl_display_connect() documentation it says that "The server socket must be placed in XDG_RUNTIME_DIR for this function to find it."

Re: New paths for Wayland sockets (Re: Enabling Android-style per application user ids)

2017-11-08 Thread Pekka Paalanen
On Tue, 7 Nov 2017 19:42:42 + Daniel Stone wrote: > Hi, > > On 3 November 2017 at 07:33, Pekka Paalanen wrote: > > - when the current socket search fails, add one more place to look > > in: /run/wayland/$WAYLAND_DISPLAY with the default