Re: [PATCH v2 libinput] Add configure.ac check for static_assert

2016-05-15 Thread Thiago Macieira
On segunda-feira, 16 de maio de 2016 13:32:07 PDT Peter Hutterer wrote: > Part of C11, defined via assert.h. > > Signed-off-by: Peter Hutterer > --- > Changes to v1: > - leave static_assert in place and just check for that in configure > > configure.ac | 4 > 1 file changed, 4 insertions(+

Re: [PATCH v2 libinput] Add configure.ac check for static_assert

2016-05-15 Thread Jonas Ådahl
On Mon, May 16, 2016 at 01:32:07PM +1000, Peter Hutterer wrote: > Part of C11, defined via assert.h. > > Signed-off-by: Peter Hutterer Reviewed-by: Jonas Ådahl > --- > Changes to v1: > - leave static_assert in place and just check for that in configure > > configure.ac | 4 > 1 file ch

[PATCH v2 libinput] Add configure.ac check for static_assert

2016-05-15 Thread Peter Hutterer
Part of C11, defined via assert.h. Signed-off-by: Peter Hutterer --- Changes to v1: - leave static_assert in place and just check for that in configure configure.ac | 4 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 8ddc3b6..8c14efe 100644 --- a/configure

Re: [PATCH libinput] Switch to _Static_assert from static_assert and make sure it exists

2016-05-15 Thread Jonas Ådahl
On Mon, May 16, 2016 at 11:46:28AM +1000, Peter Hutterer wrote: > _Static_assert is the C keyword, the lowercase version is the C++ one. > Add the required configure.ac bits if this is missing. static_assert isn't just C++, it's, just as _Static_assert, part of C11, except that it is, just as asse

[PATCH libinput] Switch to _Static_assert from static_assert and make sure it exists

2016-05-15 Thread Peter Hutterer
_Static_assert is the C keyword, the lowercase version is the C++ one. Add the required configure.ac bits if this is missing. Signed-off-by: Peter Hutterer --- configure.ac | 6 ++ src/evdev-tablet.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/c

Re: [PATCH libinput 3/3] Add support for relative device rotation (trackball only)

2016-05-15 Thread Hans de Goede
Hi, On 04-05-16 11:20, Peter Hutterer wrote: On Wed, May 04, 2016 at 07:13:43AM +1000, Peter Hutterer wrote: Trackballs are effectively stationary devices and can be positioned at any rotation. They are also employed by users with impaired dexterity which sometimes implies that they are positio