evdev: filtering a BTN_TOOL_FINGER like a BTN_TOUCH
authorjeon <jhyuni.kang@samsung.com>
Fri, 3 May 2019 11:20:25 +0000 (20:20 +0900)
committerjeon <jhyuni.kang@samsung.com>
Tue, 5 Jan 2021 10:39:43 +0000 (19:39 +0900)
Change-Id: Iebf445657df1c3028d816f3d5ca5a925a2c571f5

src/evdev-fallback.c

index 4f66b4e48c2296ea9f74da322211b11216ab2c61..3bee7ea8f29d2579926ffe85adb2c6adef727345 100644 (file)
@@ -590,6 +590,9 @@ fallback_process_key(struct fallback_dispatch *dispatch,
        if (e->value == 2)
                return;
 
+       if (e->code == BTN_TOOL_FINGER)
+               return;
+
        if (e->code == BTN_TOUCH) {
                if (!device->is_mt)
                        fallback_process_touch_button(dispatch,