Skip to content

Give menu a chance to handle keydown event before window - #6370

Merged
zcbenz merged 1 commit into
masterfrom
send-key-event-to-main-menu
Jul 7, 2016
Merged

zcbenz merged 1 commit into
masterfrom
send-key-event-to-main-menu

Conversation

@kevinsawicki

@kevinsawicki kevinsawicki commented Jul 6, 2016 •

Copy link
Copy Markdown
Contributor

Pull request #6068 introduced a regression where menu shortcuts with no modifiers would no longer fire.

This pull request adds back the key forwarding to the main menu before it gets re-dispatched to the window, it was previously done as https://github.com/electron/electron/pull/6068/files#diff-00f46b45a76b7daf5efc593cfbbba7c9L25

This seems like the needed behavior after reading https://cs.chromium.org/chromium/src/chrome/browser/ui/cocoa/browser_window_utils.mm?l=63

Closes #6362

@zcbenz

zcbenz commented Jul 7, 2016

Copy link
Copy Markdown
Contributor

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants