summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2016-06-17 08:44:40 -0700
committerPeter Hutterer <peter.hutterer@who-t.net>2016-06-20 15:40:28 +1000
commit72df6e2a3a5020696902b70fe940934ef0a681c4 (patch)
tree76074b25eb580a64e6600c08c41ab6218fc909f6
parentdab5b3922c50f73712a8ea0cb9742c4bc7d7ab1d (diff)
xwayland: Use correct labels when initializing pointer valuators
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Reviewed-by: Olivier Fourdan <ofourdan@redhat.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--hw/xwayland/xwayland-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwayland/xwayland-input.c b/hw/xwayland/xwayland-input.c
index 68c97d12a..fbb6b6b2c 100644
--- a/hw/xwayland/xwayland-input.c
+++ b/hw/xwayland/xwayland-input.c
@@ -83,7 +83,7 @@ xwl_pointer_proc(DeviceIntPtr device, int what)
axes_labels[2] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_HWHEEL);
axes_labels[3] = XIGetKnownProperty(AXIS_LABEL_PROP_REL_WHEEL);
- if (!InitValuatorClassDeviceStruct(device, NAXES, btn_labels,
+ if (!InitValuatorClassDeviceStruct(device, NAXES, axes_labels,
GetMotionHistorySize(), Absolute))
return BadValue;