summaryrefslogtreecommitdiffstats
path: root/views/window/window_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'views/window/window_win.cc')
-rw-r--r--views/window/window_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/window/window_win.cc b/views/window/window_win.cc
index 4daa279..98c4aa7 100644
--- a/views/window/window_win.cc
+++ b/views/window/window_win.cc
@@ -150,7 +150,7 @@ void WindowWin::Show(int show_state) {
// that should activate, because if we're opened from a desktop shortcut while
// an existing window is already running it doesn't seem to be enough to use
// one of these flags to activate the window.
- if (show_state == SW_SHOWNORMAL)
+ if (show_state == SW_SHOWNORMAL || show_state == SW_SHOWMAXIMIZED)
Activate();
SetInitialFocus();