Skip to content

macos: fix in-app native shortcuts (regression)

Arjan Molenaar requested to merge amolenaar/macos-fix-nsapp-shortcuts into main

!7158 (merged) fixed an issue, it introduced a (small) regression. Unhandled key events were no longer propagated to the NSApp from text fields. This prevented in-app default keyboard shortcuts to work (e.g. Ctrl-F2 to focus the menu bar).

This MR fixes that behavior. It reverts the original (4.14.0) behavior for sending unhandled events to NSApp, and is still using the loose matching for key events in an IM context.

Merge request reports