mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
Use EvdevBitIsSet, not the server's BitIsOn
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user