[PATCH xf86-input-libinput] Init touch x/y axis labels as MT axis labels
Hans de Goede
hdegoede at redhat.com
Mon Jun 13 09:43:13 UTC 2016
Hi,
On 12-06-16 23:56, Peter Hutterer wrote:
> https://bugs.freedesktop.org/show_bug.cgi?id=96481
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Looks good to me:
Reviewed-by: Hans de Goede <hdegoede at redhat.com>
Regards,
Hans
> ---
> src/xf86libinput.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/xf86libinput.c b/src/xf86libinput.c
> index 5295085..e18f8ff 100644
> --- a/src/xf86libinput.c
> +++ b/src/xf86libinput.c
> @@ -798,10 +798,10 @@ xf86libinput_init_touch(InputInfoPtr pInfo)
> res = 0;
>
> xf86InitValuatorAxisStruct(dev, 0,
> - XIGetKnownProperty(AXIS_LABEL_PROP_ABS_X),
> + XIGetKnownProperty(AXIS_LABEL_PROP_ABS_MT_POSITION_X),
> min, max, res * 1000, 0, res * 1000, Absolute);
> xf86InitValuatorAxisStruct(dev, 1,
> - XIGetKnownProperty(AXIS_LABEL_PROP_ABS_Y),
> + XIGetKnownProperty(AXIS_LABEL_PROP_ABS_MT_POSITION_Y),
> min, max, res * 1000, 0, res * 1000, Absolute);
> InitTouchClassDeviceStruct(dev, TOUCH_MAX_SLOTS, XIDirectTouch, 2);
>
>
More information about the xorg-devel
mailing list