| 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 12ca812f0b7969ff76ce617796bce67a8812795b..c324b732a38b2efbeabc73fd53dc18b8f5f56f9e 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);
|
|
|