| Index: ui/wm/core/compound_event_filter.cc
|
| diff --git a/ui/wm/core/compound_event_filter.cc b/ui/wm/core/compound_event_filter.cc
|
| index d1f652c02f60cd47d50c7bc2b5cbba2c3a5cf414..6a252bbcd5f497074b035ac09c93dd2b54524037 100644
|
| --- a/ui/wm/core/compound_event_filter.cc
|
| +++ b/ui/wm/core/compound_event_filter.cc
|
| @@ -112,11 +112,12 @@ void CompoundEventFilter::UpdateCursor(aura::Window* target,
|
| aura::client::CursorClient* cursor_client =
|
| aura::client::GetCursorClient(root_window);
|
| if (cursor_client) {
|
| - gfx::NativeCursor cursor = target->GetCursor(event->location());
|
| + gfx::NativeCursor cursor =
|
| + target->GetCursor(gfx::ToFlooredPoint(event->location()));
|
| if ((event->flags() & ui::EF_IS_NON_CLIENT)) {
|
| if (target->delegate()) {
|
| - int window_component =
|
| - target->delegate()->GetNonClientComponent(event->location());
|
| + int window_component = target->delegate()->GetNonClientComponent(
|
| + gfx::ToFlooredPoint(event->location()));
|
| cursor = CursorForWindowComponent(window_component);
|
| } else {
|
| // Allow the OS to handle non client cursors if we don't have a
|
|
|