From 72df6e2a3a5020696902b70fe940934ef0a681c4 Mon Sep 17 00:00:00 2001 From: Jason Gerecke Date: Fri, 17 Jun 2016 08:44:40 -0700 Subject: xwayland: Use correct labels when initializing pointer valuators Signed-off-by: Jason Gerecke Reviewed-by: Olivier Fourdan Signed-off-by: Peter Hutterer --- hw/xwayland/xwayland-input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3