diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2010-05-17 00:32:26 +0200 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2010-05-17 00:32:26 +0200 |
commit | ad6faf6c53bc1924986e1cc10bb42e5d157cba8f (patch) | |
tree | a9cc73e99b336fe1090c687c2cea32284f314db2 /src | |
parent | 2f23f280d5bff3d5aa3f6115ecc05fa73b1cc2bb (diff) | |
download | xorg-input-kobomultitouch-ad6faf6c53bc1924986e1cc10bb42e5d157cba8f.tar.gz xorg-input-kobomultitouch-ad6faf6c53bc1924986e1cc10bb42e5d157cba8f.tar.bz2 xorg-input-kobomultitouch-ad6faf6c53bc1924986e1cc10bb42e5d157cba8f.zip |
Allow ABI_XINPUT versions greater than 7
The current code does not allow ABI_XINPUT versions above 7,
although the relevant parts are still good. This patch makes
all new versions behave as version 7, until proven otherwise.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src')
-rw-r--r-- | src/multitouch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/multitouch.c b/src/multitouch.c index 3dde667..7e275b3 100644 --- a/src/multitouch.c +++ b/src/multitouch.c @@ -127,7 +127,7 @@ static int device_init(DeviceIntPtr dev, LocalDevicePtr local) pointer_control, GetMotionHistorySize(), 2); -#elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 7 +#elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 InitPointerDeviceStruct((DevicePtr)dev, btmap, DIM_BUTTON, btn_labels, pointer_control, |