diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/xf86HyperPen.c | 4 |
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 |