diff --git a/glfw/cocoa_init.m b/glfw/cocoa_init.m index dcc42aab2..657877fda 100644 --- a/glfw/cocoa_init.m +++ b/glfw/cocoa_init.m @@ -496,7 +496,7 @@ - (void)render_frame_received:(id)displayIDAsID case 0x1b: // Esc if (modifierFlags & (NSEventModifierFlagCommand | NSEventModifierFlagControl)) return true; break; - case NSInsertFunctionKey: // Insert + case NSHelpFunctionKey: // For some reason keyboards with an insert key have it mapped to help if (!modifierFlags || modifierFlags == NSEventModifierFlagShift) return true; break; }