| Index: components/exo/shell_surface.cc
|
| diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
|
| index 97d7de0529db51deea098249c2d89aa9e3ae594a..0b3646437c94acae3acdb27ac3cff82e4786166a 100644
|
| --- a/components/exo/shell_surface.cc
|
| +++ b/components/exo/shell_surface.cc
|
| @@ -924,6 +924,11 @@ void ShellSurface::OnPreWindowStateTypeChange(
|
| ash::wm::WindowState* window_state,
|
| ash::wm::WindowStateType old_type) {
|
| ash::wm::WindowStateType new_type = window_state->GetStateType();
|
| + if (old_type == ash::wm::WINDOW_STATE_TYPE_MINIMIZED ||
|
| + new_type == ash::wm::WINDOW_STATE_TYPE_MINIMIZED) {
|
| + return;
|
| + }
|
| +
|
| if (ash::wm::IsMaximizedOrFullscreenOrPinnedWindowStateType(old_type) ||
|
| ash::wm::IsMaximizedOrFullscreenOrPinnedWindowStateType(new_type)) {
|
| // When transitioning in/out of maximized or fullscreen mode we need to
|
|
|