From c666c78c764d0b97fa25bd9f0796a83b77761f7d Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 30 Jan 2013 11:47:03 +1000 Subject: Handle DEVICE_ABORT on input ABI 19.1 Don't do anything, but don't print a warning either. Signed-off-by: Peter Hutterer --- src/xf86Elo.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xf86Elo.c b/src/xf86Elo.c index c37cf9a..ef2186f 100644 --- a/src/xf86Elo.c +++ b/src/xf86Elo.c @@ -875,6 +875,11 @@ xf86EloControl(DeviceIntPtr dev, DBG(2, ErrorF("Done\n")); return Success; +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) * 100 + GET_ABI_MINOR(ABI_XINPUT_VERSION) >= 1901 + case DEVICE_ABORT: + return Success; +#endif + default: ErrorF("unsupported mode=%d\n", mode); return BadValue; -- cgit v1.2.3