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 8099626710db18abf5751e2c015403307ec4ff92..b40444763161530ae3dd02362710a1bae9afdb34 100644 |
--- a/ui/views/widget/native_widget_aura.cc |
+++ b/ui/views/widget/native_widget_aura.cc |
@@ -494,6 +494,11 @@ void NativeWidgetAura::ShowWithWindowState(ui::WindowShowState state) { |
// do the right thing. |
SetInitialFocus(state); |
} |
+ |
+ // On desktop aura, a window is activated first even when it is shown as |
+ // minimized. Do the same for consistency. |
+ if (state == ui::SHOW_STATE_MINIMIZED) |
+ Minimize(); |
} |
bool NativeWidgetAura::IsVisible() const { |