Re: [RFC PATCH xf86-input-libinput v2] Do not crash if the device is invalid

2015-02-24 Thread Peter Hutterer
On Tue, Feb 24, 2015 at 04:12:16PM +0100, Olivier Fourdan wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=89296 > > Signed-off-by: Olivier Fourdan > --- > > v2: Move the test to LibinputSetProperty() and do it only once > > src/libinput.c | 6 ++ > 1 file changed, 6 insertions(+) >

[RFC PATCH xf86-input-libinput v2] Do not crash if the device is invalid

2015-02-24 Thread Olivier Fourdan
https://bugs.freedesktop.org/show_bug.cgi?id=89296 Signed-off-by: Olivier Fourdan --- v2: Move the test to LibinputSetProperty() and do it only once src/libinput.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/libinput.c b/src/libinput.c index 9613fbd..ac14adb 100644 --- a/src

[RFC PATCH xf86-input-libinput] Do not crash if the device is invalid

2015-02-24 Thread Olivier Fourdan
https://bugs.freedesktop.org/show_bug.cgi?id=89296 Signed-off-by: Olivier Fourdan --- src/libinput.c | 24 1 file changed, 24 insertions(+) diff --git a/src/libinput.c b/src/libinput.c index 9613fbd..3159373 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -1304,6 +1