winemac: Send Help key presses directly to the window, bypassing -[NSApplication...
commit4b8c0d8784593d2830f66407a51e88934ad7adb4
authorKen Thomases <ken@codeweavers.com>
Tue, 4 Apr 2017 01:57:14 +0000 (3 20:57 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 4 Apr 2017 07:42:15 +0000 (4 09:42 +0200)
tree8ec201775848ce67f5338e25ead9312a7c7cc325
parent8b1737c0fdf1d3d905bea281d9241f1f48f333e9
winemac: Send Help key presses directly to the window, bypassing -[NSApplication sendEvent:].

-[NSApplication sendEvent:] seems to consume the event and doesn't pass it along
to the window.

Mac keyboards haven't included a Help key for a long time, but users with PC
keyboards can use the Insert key, which is in the same position.  The Mac
driver translates either one to VK_INSERT.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winemac.drv/cocoa_app.m