Add support for system key capture in windowed mode on macOS

This commit is contained in:
Cameron Gutman committed 2021-02-26 21:43:47 -06:00
1 parent 28ecc6bcbf
commit b27ca993aa
6 files changed
+61 -23

No files matched your search

-6
View File
@@ -68,12 +68,6 @@ SystemProperties::SystemProperties()
hasDiscordIntegration = false;
#endif
#ifdef Q_OS_DARWIN
supportsWindowedSystemKeyCapture = false;
#else
supportsWindowedSystemKeyCapture = true;
#endif
unmappedGamepads = SdlInputHandler::getUnmappedGamepads();
// Populate data that requires talking to SDL. We do it all in one shot