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
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
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
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
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
> -
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