summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
Diffstat (limited to 'remoting')
-rw-r--r--remoting/client/chromoting_client.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/client/chromoting_client.cc b/remoting/client/chromoting_client.cc
index 70a5c49..272f293 100644
--- a/remoting/client/chromoting_client.cc
+++ b/remoting/client/chromoting_client.cc
@@ -212,6 +212,7 @@ void ChromotingClient::InitClient(const InitClientMessage& init_client,
// TODO(ajwong): What to do here? Does the decoder actually need to request
// the right frame size? This is mainly an optimization right?
// rectangle_decoder_->SetOutputFrameSize(width, height);
+ view_->SetViewport(0, 0, width, height);
// Schedule the input handler to process the event queue.
input_handler_->Initialize();