aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-26 12:14:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-26 14:36:07 +1000
commitc89bbf80be65eb9d0d20871761d22c6d6d76708b (patch)
tree08ce9df7435b1aa5e9d041f344e66db21156acb1
parentIf scrollwheels are found, bump the button number by 4 (or up to 7). (diff)
downloadxf86-input-evdev-c89bbf80be65eb9d0d20871761d22c6d6d76708b.tar.gz
xf86-input-evdev-c89bbf80be65eb9d0d20871761d22c6d6d76708b.tar.bz2
xf86-input-evdev-c89bbf80be65eb9d0d20871761d22c6d6d76708b.zip
Don't double-assign the UKNOWN axis label.
All labels default to unknown anyway. 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 c53e3af..048315f 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -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;
}