[PATCH libinput 1/3] Mark some internal log functions as printf-style function

2016-10-23 Thread Peter Hutterer
Fixes the respective clang warnings Signed-off-by: Peter Hutterer --- src/libinput.c| 6 ++ test/litest.c | 16 test/misc.c | 7 +++ tools/event-gui.c | 8 tools/shared.c| 7 +++ 5 files changed, 44 insertions(+) diff --git a/src/libin

[PATCH libinput 2/3] touchpad: switch from fabs() to abs()

2016-10-23 Thread Peter Hutterer
silence clang warning: evdev-mt-touchpad.c:1017:7: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sr

Re: [PATCH] [weston, v2] weston.ini: Add natural scroll support to weston.ini

2016-10-23 Thread Peter Hutterer
sorry, I'm getting lost here, which one is the most recent patch now? there are two labelled v2 Cheers, Peter On Sat, Oct 22, 2016 at 01:31:28PM -0400, Jiayi Zhao wrote: > This adds support for enabling/disabling natural scrolling > via a boolean in weston.ini: > > [libinput] > natural_scroll

Re: [PATCH] [weston] weston.ini: Add natural scroll support to weston.ini

2016-10-23 Thread Peter Hutterer
On Sat, Oct 22, 2016 at 12:23:40PM -0400, Jiayi Zhao wrote: > Hmm, > > it says here that > > libinput_device_config_scroll_has_natural_scroll() > > returns a zero value if device does not support natural scrolling > > and returns a non-zero value if it does support natural scrolling: > > https

Re: [PATCH weston] clients: Make XKB compose support conditional

2016-10-23 Thread Bryce Harrington
On Sat, Oct 22, 2016 at 03:09:24PM +0100, Daniel Stone wrote: > Debian Jessie's version of libxkbcommon is too old for compose support, > so rather than force people to upgrade, let's make it conditional. > > Signed-off-by: Daniel Stone > Cc: Bryce Harrington Reviewed-by: Bryce Harrington > -

Re: [PATCH weston] clients: Make XKB compose support conditional

2016-10-23 Thread Daniel Diaz
Hello! On 22 October 2016 at 09:09, Daniel Stone wrote: > Debian Jessie's version of libxkbcommon is too old for compose support, > so rather than force people to upgrade, let's make it conditional. Tested on Ubuntu 14.04 with libxkbcommon-dev 0.4.1. > Signed-off-by: Daniel Stone Reviewed-by