| Index: ui/events/ozone/evdev/input_controller_evdev.cc
|
| diff --git a/ui/events/ozone/evdev/input_controller_evdev.cc b/ui/events/ozone/evdev/input_controller_evdev.cc
|
| index 0f3ba9c3b89c4a2499f83955988f8c8aeb16b562..d801e9d9faf4cff49490070e7c2b29c8c2383e96 100644
|
| --- a/ui/events/ozone/evdev/input_controller_evdev.cc
|
| +++ b/ui/events/ozone/evdev/input_controller_evdev.cc
|
| @@ -96,6 +96,9 @@ void InputControllerEvdev::DisableInternalKeyboardExceptKeys(
|
| if (input_device_factory_) {
|
| input_device_factory_->DisableInternalKeyboardExceptKeys(
|
| excepted_keys.Pass());
|
| +
|
| + // Release keys since we may block key up events.
|
| + keyboard_->Reset();
|
| }
|
| }
|
|
|
|
|