[PATCH xserver 2/3] xwayland: Use correct labels when initializing pointer valuators

Olivier Fourdan ofourdan at redhat.com
Fri Jun 17 14:39:47 UTC 2016


----- Original Message -----
> Signed-off-by: Jason Gerecke <jason.gerecke at wacom.com>
> ---
>  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 65f8961..bc30e29 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;
>  
> --
> 2.8.3

Looks right to me.

Reviewed-by: Olivier Fourdan <ofourdan at redhat.com>

Cheers,
Olivier


More information about the xorg-devel mailing list