From e686a9850eebe5ab6e8609e7b570c04eba11401c Mon Sep 17 00:00:00 2001 From: Robert MacGregor Date: Wed, 25 May 2022 21:50:14 -0400 Subject: [PATCH] * BugFix: Correct the MacOS hotkey workaround causing eg. the Windows key to potentially be processed as part of a hotkey combo. --- Engine/source/windowManager/sdl/sdlWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Engine/source/windowManager/sdl/sdlWindow.cpp b/Engine/source/windowManager/sdl/sdlWindow.cpp index f210bdb08..f14ddab4c 100644 --- a/Engine/source/windowManager/sdl/sdlWindow.cpp +++ b/Engine/source/windowManager/sdl/sdlWindow.cpp @@ -87,6 +87,7 @@ namespace } // NOTE: For MacOS, this will treat command as Left or Right CTRL +#ifdef TORQUE_OS_MAC if (mod & KMOD_LGUI) { ret |= SI_LCTRL; @@ -98,6 +99,7 @@ namespace ret |= SI_RCTRL; ret |= SI_CTRL; } +#endif return ret; }