| Index: ash/shell.cc
|
| diff --git a/ash/shell.cc b/ash/shell.cc
|
| index 19d8a119060c8899bb3b117a5771b5413b84c042..39147ce794f54ff40850f957f0de89e4833b0f58 100644
|
| --- a/ash/shell.cc
|
| +++ b/ash/shell.cc
|
| @@ -582,12 +582,14 @@ void Shell::Init() {
|
| user_wallpaper_delegate_->InitializeWallpaper();
|
|
|
| if (initially_hide_cursor_)
|
| - cursor_manager_.DisableMouseEvents();
|
| + cursor_manager_.HideCursor();
|
| cursor_manager_.SetCursor(ui::kCursorPointer);
|
|
|
| - // Cursor might have been hidden by somethign other than chrome.
|
| - // Let the first mouse event show the cursor.
|
| - env_filter_->set_cursor_hidden_by_filter(true);
|
| + if (!cursor_manager_.IsCursorVisible()) {
|
| + // Cursor might have been hidden by something other than chrome.
|
| + // Let the first mouse event show the cursor.
|
| + env_filter_->set_cursor_hidden_by_filter(true);
|
| + }
|
| }
|
|
|
| void Shell::ShowContextMenu(const gfx::Point& location_in_screen) {
|
|
|