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 | |
| parent | 2f23f280d5bff3d5aa3f6115ecc05fa73b1cc2bb (diff) | |
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>
| -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) | |||
| 127 | pointer_control, | 127 | pointer_control, |
| 128 | GetMotionHistorySize(), | 128 | GetMotionHistorySize(), |
| 129 | 2); | 129 | 2); |
| 130 | #elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 7 | 130 | #elif GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 |
| 131 | InitPointerDeviceStruct((DevicePtr)dev, | 131 | InitPointerDeviceStruct((DevicePtr)dev, |
| 132 | btmap, DIM_BUTTON, btn_labels, | 132 | btmap, DIM_BUTTON, btn_labels, |
| 133 | pointer_control, | 133 | pointer_control, |
