diff --git a/src/cocoa_window.m b/src/cocoa_window.m index d7ded30a..e34fb876 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -744,7 +744,7 @@ static const NSRange kEmptyRange = { NSNotFound, 0 }; range:range remainingRange:&range]) { - if ((codepoint & 0xff00) == 0xf700) + if (codepoint >= 0xf700 && codepoint <= 0xf7ff) continue; _glfwInputChar(window, codepoint, mods, plain);