Fix app-command event always return 'unknown'.
This commit is contained in:
parent
9ec60cd585
commit
3840a10da6
1 changed files with 1 additions and 1 deletions
|
@ -929,7 +929,7 @@ bool NativeWindowViews::ExecuteWindowsCommand(int command_id) {
|
|||
} else if ((command_id & sc_mask) == SC_MAXIMIZE) {
|
||||
NotifyWindowMaximize();
|
||||
} else {
|
||||
std::string command = AppCommandToString(command_id & sc_mask);
|
||||
std::string command = AppCommandToString(command_id);
|
||||
FOR_EACH_OBSERVER(NativeWindowObserver,
|
||||
observers_,
|
||||
OnExecuteWindowsCommand(command));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue