mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
Don't double-assign the UKNOWN axis label.
All labels default to unknown anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -1892,7 +1892,7 @@ EvdevInitProperty(DeviceIntPtr dev)
|
||||
|
||||
atom = XIGetKnownProperty(labels[axis]);
|
||||
if (!atom) /* Should not happen */
|
||||
atom = XIGetKnownProperty(misc_label);
|
||||
continue;
|
||||
|
||||
atoms[pEvdev->axis_map[axis]] = atom;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user