Index: ash/wm/maximize_mode/maximize_mode_window_manager.cc |
diff --git a/ash/wm/maximize_mode/maximize_mode_window_manager.cc b/ash/wm/maximize_mode/maximize_mode_window_manager.cc |
index 15d1ca2298bef42c37afa0a46fe1a97c931c7228..49262452f1c0e35672bd520e347c1fe4481f49aa 100644 |
--- a/ash/wm/maximize_mode/maximize_mode_window_manager.cc |
+++ b/ash/wm/maximize_mode/maximize_mode_window_manager.cc |
@@ -138,7 +138,7 @@ void MaximizeModeWindowManager::OnTouchEvent(ui::TouchEvent* event) { |
return; |
wm::WindowState* window_state = wm::GetWindowState(window); |
- if (!window_state->IsFullscreen()) |
+ if (!window_state->IsFullscreen() || window_state->in_immersive_fullscreen()) |
return; |
// Test that the touch happened in the top or bottom lines. |