summaryrefslogtreecommitdiffstats
path: root/ui/events/ozone/evdev/event_converter_evdev_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/events/ozone/evdev/event_converter_evdev_impl.cc')
-rw-r--r--ui/events/ozone/evdev/event_converter_evdev_impl.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/events/ozone/evdev/event_converter_evdev_impl.cc b/ui/events/ozone/evdev/event_converter_evdev_impl.cc
index 23c6f14..1718c7c 100644
--- a/ui/events/ozone/evdev/event_converter_evdev_impl.cc
+++ b/ui/events/ozone/evdev/event_converter_evdev_impl.cc
@@ -188,8 +188,9 @@ void EventConverterEvdevImpl::OnKeyChange(unsigned int key,
// State transition: !(down) -> (down)
key_state_.set(key, down);
- dispatcher_->DispatchKeyEvent(KeyEventParams(
- input_device_.id, key, down, true /* enable_repeat */, timestamp));
+ dispatcher_->DispatchKeyEvent(KeyEventParams(input_device_.id, key, down,
+ false /* suppress_auto_repeat */,
+ timestamp));
}
void EventConverterEvdevImpl::ReleaseKeys() {