summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-05-29 13:26:57 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-05-31 06:57:22 +1000
commitfff3a60fbf5c81b337ae4eaf160feacdfc8c2465 (patch)
tree0d238175e2f3132a49746ab198e60175ce293b46
parent8f209ac60d10ba61aa6ea2bec02dbfa54ebe8f17 (diff)
Use EvdevBitIsSet, not the server's BitIsOn
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 34cd3a1..ba2a98c 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1267,7 +1267,7 @@ EvdevAddAbsValuatorClass(DeviceIntPtr device, int want_scroll_axes)
for (j = 0; j < ArrayLength(mt_axis_mappings); j++)
{
if (mt_axis_mappings[j].mt_code == axis &&
- BitIsOn(pEvdev->abs_bitmask, mt_axis_mappings[j].code))
+ EvdevBitIsSet(pEvdev->abs_bitmask, mt_axis_mappings[j].code))
{
mt_axis_mappings[j].needs_mapping = TRUE;
skip = TRUE;