| Index: ui/views/widget/native_widget_aura.cc
|
| diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
|
| index bf113e6e119de7bcb3ab99b2f21a1d185eba9ef7..a9205018b651b99d6715321a8a079565cd4851fe 100644
|
| --- a/ui/views/widget/native_widget_aura.cc
|
| +++ b/ui/views/widget/native_widget_aura.cc
|
| @@ -484,8 +484,7 @@ void NativeWidgetAura::ShowWithWindowState(ui::WindowShowState state) {
|
| if (!window_)
|
| return;
|
|
|
| - if (state == ui::SHOW_STATE_MAXIMIZED || state == ui::SHOW_STATE_FULLSCREEN)
|
| - window_->SetProperty(aura::client::kShowStateKey, state);
|
| + window_->SetProperty(aura::client::kShowStateKey, state);
|
| window_->Show();
|
| if (delegate_->CanActivate()) {
|
| if (state != ui::SHOW_STATE_INACTIVE)
|
| @@ -495,6 +494,9 @@ void NativeWidgetAura::ShowWithWindowState(ui::WindowShowState state) {
|
| // do the right thing.
|
| SetInitialFocus(state);
|
| }
|
| +
|
| + if (state == ui::SHOW_STATE_MINIMIZED)
|
| + Minimize();
|
| }
|
|
|
| bool NativeWidgetAura::IsVisible() const {
|
|
|