| Index: remoting/client/plugin/pepper_input_handler.cc
|
| diff --git a/remoting/client/plugin/pepper_input_handler.cc b/remoting/client/plugin/pepper_input_handler.cc
|
| index fda6a02032c911d603f35514b2e032e61c27ec22..01fec29419924043c715e0a714fe71c5e0d1ad41 100644
|
| --- a/remoting/client/plugin/pepper_input_handler.cc
|
| +++ b/remoting/client/plugin/pepper_input_handler.cc
|
| @@ -118,11 +118,13 @@ PepperInputHandler::PepperInputHandler(
|
| wheel_delta_x_(0),
|
| wheel_delta_y_(0),
|
| wheel_ticks_x_(0),
|
| - wheel_ticks_y_(0) {
|
| + wheel_ticks_y_(0),
|
| + detect_stuck_modifiers_(false) {
|
| }
|
|
|
| bool PepperInputHandler::HandleInputEvent(const pp::InputEvent& event) {
|
| - ReleaseAllIfModifiersStuck(event);
|
| + if (detect_stuck_modifiers_)
|
| + ReleaseAllIfModifiersStuck(event);
|
|
|
| switch (event.GetType()) {
|
| // Touch input cases.
|
|
|