Commit a219cf27 authored by kelvinp's avatar kelvinp Committed by Commit bot

Fix bump scrolling doesn't work if the app is in fullscreen mode before connecting.

With the change, https://codereview.chromium.org/875583002, it is
possible to start a remote connection in fullscreen mode, we simply
need to notify the DesktopConnectedView that we are in fullscreen upon connecting.

BUG=461609

Review URL: https://codereview.chromium.org/958693002

Cr-Commit-Position: refs/heads/master@{#318130}
parent 37ff86d0
......@@ -307,8 +307,10 @@ remoting.DesktopConnectedView.prototype.updateClientSessionUi_ = function(
document.body.classList.add('connected');
this.container_.addEventListener(
'mousemove', this.updateMouseCursorPosition_, true);
// Activate full-screen related UX.
remoting.fullscreen.addListener(this.callOnFullScreenChanged_);
this.onFullScreenChanged_(remoting.fullscreen.isActive());
this.setFocusHandlers_();
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment