diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | views/window/window_win.cc | 5 |
2 files changed, 3 insertions, 3 deletions
@@ -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() { |