Index: ash/wm/session_state_controller_impl2.cc |
diff --git a/ash/wm/session_state_controller_impl2.cc b/ash/wm/session_state_controller_impl2.cc |
index ed72af5b5ec7b6c7914384737b416876deff77c8..9bc8e9d40766d551b75fbf82503299547df96268 100644 |
--- a/ash/wm/session_state_controller_impl2.cc |
+++ b/ash/wm/session_state_controller_impl2.cc |
@@ -169,7 +169,7 @@ void SessionStateControllerImpl2::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, |
@@ -277,7 +277,7 @@ void SessionStateControllerImpl2::RequestShutdownImpl() { |
Shell* shell = ash::Shell::GetInstance(); |
shell->env_filter()->set_cursor_hidden_by_filter(false); |
- shell->cursor_manager()->ShowCursor(false); |
+ shell->cursor_manager()->DisableMouseEvents(); |
StartShutdownAnimationImpl(); |
} |
@@ -336,7 +336,7 @@ void SessionStateControllerImpl2::OnPreShutdownAnimationTimeout() { |
Shell* shell = ash::Shell::GetInstance(); |
shell->env_filter()->set_cursor_hidden_by_filter(false); |
- shell->cursor_manager()->ShowCursor(false); |
+ shell->cursor_manager()->DisableMouseEvents(); |
StartRealShutdownTimer(false); |
} |