Index: ui/aura/window_event_dispatcher.cc |
diff --git a/ui/aura/window_event_dispatcher.cc b/ui/aura/window_event_dispatcher.cc |
index fe99d111773c90f7c80f32bf168bc26320e1fc55..8b7db5d1eb1ec68d96d3cbcaee170b8c5cfee7f4 100644 |
--- a/ui/aura/window_event_dispatcher.cc |
+++ b/ui/aura/window_event_dispatcher.cc |
@@ -208,7 +208,10 @@ void WindowEventDispatcher::OnHostLostMouseGrab() { |
void WindowEventDispatcher::OnCursorMovedToRootLocation( |
const gfx::Point& root_location) { |
SetLastMouseLocation(window(), root_location); |
- synthesize_mouse_move_ = false; |
+ |
+ // Synthesize a mouse move in case the cursor's location in root coordinates |
+ // changed but its position in WindowTreeHost coordinates did not. |
+ PostSynthesizeMouseMove(); |
} |
void WindowEventDispatcher::OnPostNotifiedWindowDestroying(Window* window) { |