summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan A. Dickey <dan.dickey@savvis.net>2008-05-20 10:57:06 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-20 10:57:06 +0930
commita4a7003f7c82ddf05d3aa88fa40698058648dbf6 (patch)
tree8f54bf188e2cf59330e6efcd35f5e628555b5552
parent3e0dc9945d795cfd51ffe176100fa9416b6d3c4d (diff)
Fix a trivial bug in testing for absolute axes.
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
-rw-r--r--src/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 3e4a48c..e212c14 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -936,7 +936,7 @@ EvdevProbe(InputInfoPtr pInfo)
has_axes = TRUE;
}
- if (TestBit(ABS_X, abs_bitmask) && TestBit(REL_Y, abs_bitmask)) {
+ if (TestBit(ABS_X, abs_bitmask) && TestBit(ABS_Y, abs_bitmask)) {
xf86Msg(X_INFO, "%s: Found x and y absolute axes\n", pInfo->name);
pEvdev->flags |= EVDEV_ABSOLUTE_EVENTS;
if (TestBit(BTN_TOUCH, key_bitmask)) {