Chromium Code Reviews| Index: ui/aura/root_window.cc |
| diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc |
| index 128a04424d45ae084e9b6ecfbd659e1d1b42979a..991ebb581c1cea73894c645197d062d43c0d6d79 100644 |
| --- a/ui/aura/root_window.cc |
| +++ b/ui/aura/root_window.cc |
| @@ -830,6 +830,8 @@ void RootWindow::PreDispatchMouseEvent(Window* target, |
| if (IsEventCandidateForHold(*event) && !dispatching_held_event_) { |
| if (move_hold_count_) { |
| + if (event->type() != ui::ET_MOUSE_CAPTURE_CHANGED) |
|
sky
2014/02/14 16:40:05
I think you should be selective here. Meaning use
dgozman
2014/02/17 14:19:59
It's inside PreDispatchMouseEvent. The only mouse
|
| + SetLastMouseLocation(window(), event->root_location()); |
| held_move_event_.reset(new ui::MouseEvent(*event, target, window())); |
| event->SetHandled(); |
| return; |