summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--views/window/window_win.cc5
2 files changed, 3 insertions, 3 deletions
diff --git a/AUTHORS b/AUTHORS
index 1ea1518..378c162 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -102,3 +102,4 @@ Seshadri Mahalingam <seshadri.mahalingam@gmail.com>
Clement Scheelfeldt Skau <clementskau@gmail.com>
David Futcher <bobbo@ubuntu.com>
Ramkumar Gokarnesan <ramgo@yahoo-inc.com>
+Matt Arpidone <mma.public@gmail.com>
diff --git a/views/window/window_win.cc b/views/window/window_win.cc
index e1817e4..d421647 100644
--- a/views/window/window_win.cc
+++ b/views/window/window_win.cc
@@ -366,9 +366,8 @@ LRESULT WindowWin::OnAppCommand(HWND window, short app_command, WORD device,
int keystate) {
// We treat APPCOMMAND ids as an extension of our command namespace, and just
// let the delegate figure out what to do...
- if (!GetWindow()->window_delegate()->ExecuteWindowsCommand(app_command))
- return WidgetWin::OnAppCommand(window, app_command, device, keystate);
- return 0;
+ return GetWindow()->window_delegate()->ExecuteWindowsCommand(app_command) ||
+ WidgetWin::OnAppCommand(window, app_command, device, keystate);
}
void WindowWin::OnClose() {