summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-26 13:40:07 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-26 13:40:40 +1000
commit92ca3dc2e759759545c0e0adea4277b3bddb05e5 (patch)
tree7b0d32716d8572e441883a6c9ee1f45d23368bf5 /src
parent3fa28c8acd3aad054f9c74e94c1411654d709dca (diff)
Fix wrong reference to axis and button label atom list.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/evdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evdev.c b/src/evdev.c
index fc52be8..f65359f 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -2033,7 +2033,7 @@ EvdevInitProperty(DeviceIntPtr dev)
}
XIChangeDeviceProperty(dev, prop_axis_label, XA_ATOM, 32,
- PropModeReplace, natoms, &atoms, FALSE);
+ PropModeReplace, natoms, atoms, FALSE);
XISetDevicePropertyDeletable(dev, prop_axis_label, FALSE);
}
/* Button labelling */
@@ -2074,7 +2074,7 @@ EvdevInitProperty(DeviceIntPtr dev)
atoms[6] = XIGetKnownProperty(BTN_LABEL_PROP_BTN_HWHEEL_RIGHT);
XIChangeDeviceProperty(dev, prop_btn_label, XA_ATOM, 32,
- PropModeReplace, pEvdev->buttons, &atoms, FALSE);
+ PropModeReplace, pEvdev->buttons, atoms, FALSE);
XISetDevicePropertyDeletable(dev, prop_btn_label, FALSE);
}
#endif /* HAVE_LABELS */