diff options
Diffstat (limited to 'platform/macos/godot_application.mm')
-rw-r--r-- | platform/macos/godot_application.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/godot_application.mm b/platform/macos/godot_application.mm index e3a744caa2..f5e1bb43bf 100644 --- a/platform/macos/godot_application.mm +++ b/platform/macos/godot_application.mm @@ -100,7 +100,7 @@ } - (void)sendEvent:(NSEvent *)event { - if ([event type] == NSSystemDefined && [event subtype] == 8) { + if ([event type] == NSEventTypeSystemDefined && [event subtype] == 8) { int keyCode = (([event data1] & 0xFFFF0000) >> 16); int keyFlags = ([event data1] & 0x0000FFFF); int keyState = (((keyFlags & 0xFF00) >> 8)) == 0xA; |