| Index: ui/aura/window_event_dispatcher.cc
|
| diff --git a/ui/aura/window_event_dispatcher.cc b/ui/aura/window_event_dispatcher.cc
|
| index a089435bf2720dbb96a21569f51db8a99d99b4ae..459e23df41728a54df7dc1d88499fee4d2e85b9e 100644
|
| --- a/ui/aura/window_event_dispatcher.cc
|
| +++ b/ui/aura/window_event_dispatcher.cc
|
| @@ -702,7 +702,7 @@ ui::EventDispatchDetails WindowEventDispatcher::SynthesizeMouseMoveEvent() {
|
| void WindowEventDispatcher::PreDispatchLocatedEvent(Window* target,
|
| ui::LocatedEvent* event) {
|
| int flags = event->flags();
|
| - if (IsNonClientLocation(target, event->location()))
|
| + if (IsNonClientLocation(target, gfx::ToFlooredPoint(event->location())))
|
| flags |= ui::EF_IS_NON_CLIENT;
|
| event->set_flags(flags);
|
|
|
|
|