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 ae0293c97cdb61b86865d1d90f0aa84be7571d59..1a7bec0a7bf5f8a6ed336bfa892c22b825bad68e 100644 |
--- a/ui/events/ozone/evdev/touch_event_converter_evdev.cc |
+++ b/ui/events/ozone/evdev/touch_event_converter_evdev.cc |
@@ -156,6 +156,9 @@ void TouchEventConverterEvdev::OnFileCanReadWithoutBlocking(int fd) { |
return; |
} |
+ if (ignore_events_) |
+ return; |
+ |
for (unsigned i = 0; i < read_size / sizeof(*inputs); i++) { |
ProcessInputEvent(inputs[i]); |
} |