Hi,

On 12-06-16 23:56, Peter Hutterer wrote:
https://bugs.freedesktop.org/show_bug.cgi?id=96481

Signed-off-by: Peter Hutterer <[email protected]>

Looks good to me:

Reviewed-by: Hans de Goede <[email protected]>

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);


_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to