| Index: remoting/webapp/crd/js/desktop_connected_view.js
|
| diff --git a/remoting/webapp/crd/js/desktop_connected_view.js b/remoting/webapp/crd/js/desktop_connected_view.js
|
| index e4ce2acb0dab98ad18634aca4358d2bf88b58172..c6920614e1b97a0ad427d50f6d23c1985fbc50a4 100644
|
| --- a/remoting/webapp/crd/js/desktop_connected_view.js
|
| +++ b/remoting/webapp/crd/js/desktop_connected_view.js
|
| @@ -404,6 +404,8 @@ remoting.DesktopConnectedView.prototype.updateClientSessionUi_ = function(
|
| // Stop listening for full-screen events.
|
| remoting.fullscreen.removeListener(this.callOnFullScreenChanged_);
|
|
|
| + // Disable keyboard events.
|
| + chrome.app.window.current().setInterceptAllKeys(false);
|
| } else {
|
| if (remoting.windowFrame) {
|
| remoting.windowFrame.setDesktopConnectedView(this);
|
| @@ -419,6 +421,9 @@ remoting.DesktopConnectedView.prototype.updateClientSessionUi_ = function(
|
| this.notifyClientResolution_();
|
| }
|
|
|
| + // Enable keyboard events.
|
| + chrome.app.window.current().setInterceptAllKeys(true);
|
| +
|
| document.body.classList.add('connected');
|
| this.container_.addEventListener(
|
| 'mousemove', this.updateMouseCursorPosition_, true);
|
|
|