summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-11-17 08:52:01 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-11-17 09:42:41 +1000
commited1c94e9ba75b71cd67a70c33c2fa1cf937dc0ae (patch)
treec8f00011d0fd864bc834053ae78eb22bee6c902d
parent866c952abc719d2261f26bec5cdd61a9dbe805db (diff)
Require server 1.9.99.1
This driver doesn't have enough testers to justify the time spent maintaining several ABIs. Reduce it to one ABI (the current one) and let's not pretend we know if the others still work. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--configure.ac2
-rw-r--r--src/xf86HyperPen.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0488f7b..259257c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,7 +75,7 @@ XORG_DRIVER_CHECK_EXT(RANDR, randrproto)
XORG_DRIVER_CHECK_EXT(XINPUT, inputproto)
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901] xproto $REQUIRED_MODULES)
+PKG_CHECK_MODULES(XORG, [xorg-server >= 1.9.99.1] xproto $REQUIRED_MODULES)
sdkdir=$(pkg-config --variable=sdkdir xorg-server)
CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c
index 515cbc6..c9b2ad0 100644
--- a/src/xf86HyperPen.c
+++ b/src/xf86HyperPen.c
@@ -75,6 +75,10 @@
#define XCONFIG_GIVEN "(**)"
#define xf86Verbose 1
+#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 12
+#error "This driver requires server with ABI 12."
+#endif
+
/*
* Be sure to set vmin appropriately for your device's protocol. You want to
* read a full packet before returning