diff --git a/dlls/winemac.drv/cocoa_app.m b/dlls/winemac.drv/cocoa_app.m index 27ebdc4c28a..6d1473ae5f3 100644 --- a/dlls/winemac.drv/cocoa_app.m +++ b/dlls/winemac.drv/cocoa_app.m @@ -1973,6 +1973,17 @@ - (BOOL) handleEvent:(NSEvent*)anEvent [self handleScrollWheel:anEvent]; ret = mouseCaptureWindow != nil; } + else if (type == NSKeyDown) + { + // -[NSApplication sendEvent:] seems to consume presses of the Help + // key (Insert key on PC keyboards), so we have to bypass it and + // send the event directly to the window. + if (anEvent.keyCode == kVK_Help) + { + [anEvent.window sendEvent:anEvent]; + ret = TRUE; + } + } else if (type == NSKeyUp) { uint16_t keyCode = [anEvent keyCode];