Index: remoting/host/local_input_monitor_chromeos.cc |
diff --git a/remoting/host/local_input_monitor_chromeos.cc b/remoting/host/local_input_monitor_chromeos.cc |
index abd76515caa96cc13c9ae90f9a1509a67f0bd3e1..01bdcd5fabc569b5a479c9e068029cccd2a49bae 100644 |
--- a/remoting/host/local_input_monitor_chromeos.cc |
+++ b/remoting/host/local_input_monitor_chromeos.cc |
@@ -9,6 +9,7 @@ |
#include "base/location.h" |
#include "base/single_thread_task_runner.h" |
#include "base/threading/non_thread_safe.h" |
+#include "remoting/host/chromeos/display_transform_util.h" |
#include "remoting/host/client_session_control.h" |
#include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
#include "ui/events/event.h" |
@@ -109,7 +110,9 @@ void LocalInputMonitorChromeos::Core::DidProcessEvent( |
void LocalInputMonitorChromeos::Core::HandleMouseMove( |
const ui::PlatformEvent& event) { |
- gfx::Point mouse_position = ui::EventLocationFromNative(event); |
+ gfx::PointF mouse_position = ui::EventLocationFromNative(event); |
+ mouse_position = ConvertPointFromNativeScreen(mouse_position); |
+ |
caller_task_runner_->PostTask( |
FROM_HERE, |
base::Bind( |