From 794f89abf5a31dd5cb637b918b320e149e889af7 Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Wed, 17 Jun 2015 17:16:08 -0700 Subject: [PATCH] In our widget delegate, signal our Observer --- atom/browser/native_window_views.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index 14a890475e..f03ec73a1d 100644 --- a/atom/browser/native_window_views.cc +++ b/atom/browser/native_window_views.cc @@ -855,7 +855,10 @@ bool NativeWindowViews::ExecuteWindowsCommand(int command_id) { is_minimized_ = false; } else if ((command_id & sc_mask) == SC_MAXIMIZE) { NotifyWindowMaximize(); + } else { + NotifyExecuteWindowsCommand(command_id & sc_mask); } + return false; } #endif