From f28d9bcd8c8cfbe0f17b286af76d991bc37ec579 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 14 Oct 2021 21:05:21 +0530 Subject: [PATCH] Change sybolic constant for insert key --- glfw/cocoa_init.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ is_modified_special_key(NSEvent *event, NSEventModifierFlags modifierFlags) { 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; }