Show cursor on mouse move if the cursor was hidden during the boot
BUG=152750
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/10986072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159204 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ash/shell.cc b/ash/shell.cc
index 32ddbae3..bca3358 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -497,6 +497,10 @@
if (initially_hide_cursor_)
cursor_manager_.ShowCursor(false);
+
+ // 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);
}
void Shell::AddEnvEventFilter(aura::EventFilter* filter) {