| Index: ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc b/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
|
| index 8483e855e6c223ac99378eaad2976906348496a0..c1edac050c167c1ad7c522f19ea090b8993b578c 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
|
| @@ -151,6 +151,12 @@ void DesktopRootWindowHostWin::OnRootWindowCreated(
|
| const Widget::InitParams& params) {
|
| root_window_ = root;
|
|
|
| + // The cursor is not necessarily visible when the root window is created.
|
| + aura::client::CursorClient* cursor_client =
|
| + aura::client::GetCursorClient(root_window_->window());
|
| + if (cursor_client)
|
| + is_cursor_visible_ = cursor_client->IsCursorVisible();
|
| +
|
| root_window_->window()->SetProperty(kContentWindowForRootWindow,
|
| content_window_);
|
| root_window_->window()->SetProperty(kDesktopRootWindowHostKey, this);
|
|
|