| Index: ui/aura/root_window.cc
|
| diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
|
| index 04ced914c62ad451637a4728e17e2ef8a20a384d..8733816bc5f57a1e0472ec7f7f5dc46ae3a22f34 100644
|
| --- a/ui/aura/root_window.cc
|
| +++ b/ui/aura/root_window.cc
|
| @@ -791,6 +791,10 @@ void RootWindow::PreDispatchMouseEvent(Window* target,
|
|
|
| if (IsEventCandidateForHold(*event) && !dispatching_held_event_) {
|
| if (move_hold_count_) {
|
| + if (!(event->flags() & ui::EF_IS_SYNTHESIZED) &&
|
| + event->type() != ui::ET_MOUSE_CAPTURE_CHANGED) {
|
| + SetLastMouseLocation(window(), event->root_location());
|
| + }
|
| held_move_event_.reset(new ui::MouseEvent(*event, target, window()));
|
| event->SetHandled();
|
| return;
|
|
|