Index: ash/wm/session_state_controller_impl.cc |
diff --git a/ash/wm/session_state_controller_impl.cc b/ash/wm/session_state_controller_impl.cc |
index 69cd036ecef9d87219efd153033f09d30c7a1a3d..b31b29b600c96c857def855472cea98f0ecf2360 100644 |
--- a/ash/wm/session_state_controller_impl.cc |
+++ b/ash/wm/session_state_controller_impl.cc |
@@ -52,7 +52,7 @@ void SessionStateControllerImpl::OnAppTerminating() { |
shutting_down_ = true; |
Shell* shell = ash::Shell::GetInstance(); |
shell->env_filter()->set_cursor_hidden_by_filter(false); |
- shell->cursor_manager()->ShowCursor(false); |
+ shell->cursor_manager()->DisableMouseEvents(); |
animator_->StartAnimation( |
internal::SessionStateAnimator::kAllContainersMask, |
internal::SessionStateAnimator::ANIMATION_HIDE_IMMEDIATELY, |
@@ -219,7 +219,7 @@ void SessionStateControllerImpl::RequestShutdownImpl() { |
Shell* shell = ash::Shell::GetInstance(); |
shell->env_filter()->set_cursor_hidden_by_filter(false); |
- shell->cursor_manager()->ShowCursor(false); |
+ shell->cursor_manager()->DisableMouseEvents(); |
if (login_status_ != user::LOGGED_IN_NONE) { |
// Hide the other containers before starting the animation. |