diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-01-30 11:47:03 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-01-30 11:51:42 +1000 |
commit | c666c78c764d0b97fa25bd9f0796a83b77761f7d (patch) | |
tree | caf58383107f8d97c50319689c1afa8d61615e49 | |
parent | 0d3ec2e97c99431cdbaea8e958a75ff2e748da41 (diff) |
Handle DEVICE_ABORT on input ABI 19.1
Don't do anything, but don't print a warning either.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xf86Elo.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |