Re: [PATCH libinput] evdev: reject devices with only one of x/y resolution

2015-04-09 Thread Hans de Goede
Hi, On 08-04-15 23:51, Peter Hutterer wrote: This is a kernel bug, reject such devices outright. This saves us from a bunch of extra double checks to make sure that the resolutions are always set up. Signed-off-by: Peter Hutterer Looks good, I've added my Rev-by and pushed this one. Regards

[PATCH libinput] evdev: reject devices with only one of x/y resolution

2015-04-08 Thread Peter Hutterer
This is a kernel bug, reject such devices outright. This saves us from a bunch of extra double checks to make sure that the resolutions are always set up. Signed-off-by: Peter Hutterer --- src/evdev.c | 32 +- test/device.c | 87 +