From c7e0ab9a9455424affd9f208b6b2bb0676b99462 Mon Sep 17 00:00:00 2001 From: JengHyun Kang Date: Mon, 30 Jul 2018 19:32:18 +0900 Subject: [PATCH] e_input: check and set touch device class to touch aux events Change-Id: I266b60b8a003bf3bfb083108d84fe580838590ff --- src/bin/e_input_evdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_input_evdev.c b/src/bin/e_input_evdev.c index 98d222e..5dd23da 100644 --- a/src/bin/e_input_evdev.c +++ b/src/bin/e_input_evdev.c @@ -1061,8 +1061,8 @@ _device_handle_touch_aux_data(struct libinput_device *device, struct libinput_ev if (!(edev = libinput_device_get_user_data(device))) goto end; if (!(input = edev->seat->input)) goto end; - if (!edev->ecore_dev || (ecore_device_class_get(edev->ecore_dev) != ECORE_DEVICE_CLASS_MOUSE)) - edev->ecore_dev = e_input_evdev_get_ecore_device(edev->path, ECORE_DEVICE_CLASS_MOUSE); + if (!edev->ecore_dev || (ecore_device_class_get(edev->ecore_dev) != ECORE_DEVICE_CLASS_TOUCH)) + edev->ecore_dev = e_input_evdev_get_ecore_device(edev->path, ECORE_DEVICE_CLASS_TOUCH); if (!edev->ecore_dev) { -- 2.7.4