Index: ui/events/ozone/evdev/touch_event_converter_evdev.cc |
diff --git a/ui/events/ozone/evdev/touch_event_converter_evdev.cc b/ui/events/ozone/evdev/touch_event_converter_evdev.cc |
index c30bba367942224f948ede01e0b67bf3b2c9bdc3..caf1baa237a6fe43f05cfc4d6d4fac549eb9f344 100644 |
--- a/ui/events/ozone/evdev/touch_event_converter_evdev.cc |
+++ b/ui/events/ozone/evdev/touch_event_converter_evdev.cc |
@@ -155,6 +155,9 @@ void TouchEventConverterEvdev::OnFileCanReadWithoutBlocking(int fd) { |
return; |
} |
+ if (ignore_events_) |
+ return; |
+ |
for (unsigned i = 0; i < read_size / sizeof(*inputs); i++) { |
ProcessInputEvent(inputs[i]); |
} |