Index: ui/aura/root_window.cc |
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc |
index a78db6983ec2cbbed2f5f74cce4c1f4c988387bc..4a6103b56e6462016f82b1cac6429af5f5b52eab 100644 |
--- a/ui/aura/root_window.cc |
+++ b/ui/aura/root_window.cc |
@@ -31,6 +31,7 @@ |
#include "ui/compositor/layer.h" |
#include "ui/compositor/layer_animator.h" |
#include "ui/gfx/monitor.h" |
+#include "ui/gfx/point3.h" |
sky
2012/06/11 16:19:14
remove include.
yoshiki
2012/06/19 17:56:16
Done.
|
#include "ui/gfx/screen.h" |
using std::vector; |
@@ -218,7 +219,9 @@ void RootWindow::ShowCursor(bool show) { |
} |
void RootWindow::MoveCursorTo(const gfx::Point& location_in_dip) { |
- host_->MoveCursorTo(ui::ConvertPointToPixel(layer(), location_in_dip)); |
+ gfx::Point location = location_in_dip; |
+ layer()->transform().TransformPoint(location); |
oshima
2012/06/11 21:48:30
I look at the code a bit closely and I think what
yoshiki
2012/06/19 17:56:16
Done.
|
+ host_->MoveCursorTo(ui::ConvertPointToPixel(layer(), location)); |
} |
bool RootWindow::ConfineCursorToWindow() { |