diff options
-rw-r--r-- | remoting/host/chromoting_host.cc | 4 | ||||
-rw-r--r-- | remoting/host/client_session.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc index b1ddb5b..962a8cc 100644 --- a/remoting/host/chromoting_host.cc +++ b/remoting/host/chromoting_host.cc @@ -346,8 +346,8 @@ void ChromotingHost::set_protocol_config( } void ChromotingHost::LocalMouseMoved(const gfx::Point& new_pos) { - if (MessageLoop::current() != context_->main_message_loop()) { - context_->main_message_loop()->PostTask( + if (MessageLoop::current() != context_->network_message_loop()) { + context_->network_message_loop()->PostTask( FROM_HERE, base::Bind(&ChromotingHost::LocalMouseMoved, this, new_pos)); return; } diff --git a/remoting/host/client_session.cc b/remoting/host/client_session.cc index 8718429..b3aa20e 100644 --- a/remoting/host/client_session.cc +++ b/remoting/host/client_session.cc @@ -13,7 +13,7 @@ // "echoes" detected by the local input detector. The value should be large // enough to cope with the fact that multiple events might be injected before // any echoes are detected. -static const unsigned int kNumRemoteMousePositions = 10; +static const unsigned int kNumRemoteMousePositions = 50; // The number of milliseconds for which to block remote input when local input // is received. |