summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-05-23 19:53:52 +0200
committerEnrico Weigelt, metux IT consult <info@metux.net>2024-05-23 19:54:23 +0200
commit6cd152f01aebbee482deacba49868cec5e9d1fa6 (patch)
tree29061fc5ccd2220c4140dfe4c25b984c7e7f509a /src
parent7ad5df7293483b1aadf46f22c65965e615db81ec (diff)
drop compat with ancient xservermaster
Relying on at least 1.18, which has XINPUT version 22.1. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-input-elographics/-/merge_requests/10>
Diffstat (limited to 'src')
-rw-r--r--src/xf86Elo.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/xf86Elo.c b/src/xf86Elo.c
index 758a198..cce3895 100644
--- a/src/xf86Elo.c
+++ b/src/xf86Elo.c
@@ -875,10 +875,8 @@ 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);
@@ -942,11 +940,7 @@ xf86EloUninit(InputDriverPtr drv,
xf86DeleteInput(pInfo, 0);
}
-static
-#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 18
-const
-#endif
-char *default_options[] = {
+static const char *default_options[] = {
"BaudRate", "9600",
"StopBits", "1",
"DataBits", "8",