Index: ui/views/widget/root_view.cc |
diff --git a/ui/views/widget/root_view.cc b/ui/views/widget/root_view.cc |
index efb636157077198d061820429eb5f83440912bc8..14332732b58e2fc681a76733c3249c7ef8e9d34d 100644 |
--- a/ui/views/widget/root_view.cc |
+++ b/ui/views/widget/root_view.cc |
@@ -305,7 +305,11 @@ void RootView::OnMouseMoved(const MouseEvent& event) { |
widget_->SetCursor(mouse_move_handler_->GetCursor(moved_event)); |
} else if (mouse_move_handler_ != NULL) { |
mouse_move_handler_->OnMouseExited(e); |
- widget_->SetCursor(gfx::kNullCursor); |
+ // On Aura the non-client area extends slightly outside the root view for |
+ // some windows. Let the non-client cursor handling code set the cursor |
+ // as we do above. |
+ if (!(e.flags() & ui::EF_IS_NON_CLIENT)) |
+ widget_->SetCursor(gfx::kNullCursor); |
James Cook
2012/03/02 19:17:55
I tested this on Windows and this entire "else if"
|
} |
} |