mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 10:12:17 +02:00
oops
This commit is contained in:
@@ -767,7 +767,7 @@ int _glfwPlatformInit(void)
|
|||||||
debug_key("%s\n", [[event description] UTF8String]);
|
debug_key("%s\n", [[event description] UTF8String]);
|
||||||
if (!_glfw.ignoreOSKeyboardProcessing) {
|
if (!_glfw.ignoreOSKeyboardProcessing) {
|
||||||
// first check if there is a global menu bar shortcut
|
// first check if there is a global menu bar shortcut
|
||||||
if (_glfw.ignoreOSKeyboardProcessing && [[NSApp mainMenu] performKeyEquivalent:event]) {
|
if ([[NSApp mainMenu] performKeyEquivalent:event]) {
|
||||||
debug_key("keyDown triggerred global menu bar action ignoring\n");
|
debug_key("keyDown triggerred global menu bar action ignoring\n");
|
||||||
last_keydown_shortcut_event.virtual_key_code = [event keyCode];
|
last_keydown_shortcut_event.virtual_key_code = [event keyCode];
|
||||||
last_keydown_shortcut_event.timestamp = [event timestamp];
|
last_keydown_shortcut_event.timestamp = [event timestamp];
|
||||||
|
|||||||
Reference in New Issue
Block a user