diff options
-rw-r--r-- | src/evdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c index 922d5f3..12c3e0d 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1035,7 +1035,7 @@ EvdevAddAbsClass(DeviceIntPtr device) pEvdev->axis_map[axis] = i; xf86InitValuatorAxisStruct(device, i, #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 7 - atoms[axis], + atoms[i], #endif pEvdev->absinfo[axis].minimum, pEvdev->absinfo[axis].maximum, |