| Index: ui/aura/root_window.cc
|
| diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
|
| index 6c6d6bbde2f806dbba328489cb7595712220fa55..a739fc90e2cce61354202e09db5a107909af230b 100644
|
| --- a/ui/aura/root_window.cc
|
| +++ b/ui/aura/root_window.cc
|
| @@ -217,7 +217,10 @@ 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);
|
| + host_->MoveCursorTo(ui::ConvertPointToPixel(layer(), location));
|
| + last_mouse_location_ = location_in_dip;
|
| }
|
|
|
| bool RootWindow::ConfineCursorToWindow() {
|
|
|