Popping an event of the queue in the IMContext handler prevents it from being forwarded to the NSApp, in case the (key) event was not handled by IMContext. So I reverted to a mix of the original (4.13) and new (4.14.1) behavior for fetching events: NSEvent lookup for IMContext uses loose matching, so it can work with rewritten events. When sending events to NSApp, only we're checking for an exact match. Now in-app keyboard shortcuts (e.g. Ctrl-F2) work from within text fields again.
10 KiB
10 KiB