Don't pass through the super key to the host

This commit is contained in:
Cameron Gutman
2020-03-13 18:11:31 -07:00
parent 60689f531d
commit 2d9f62761c
+3 -3
View File
@@ -483,9 +483,9 @@ void SdlInputHandler::handleKeyEvent(SDL_KeyboardEvent* event)
case SDL_SCANCODE_RALT: case SDL_SCANCODE_RALT:
keyCode = 0xA5; keyCode = 0xA5;
break; break;
// Until we can fully capture these on Windows, we should avoid // Until we can fully capture these on all platforms (without conflicting with
// passing them through to the host. // OS-provided shortcuts), we should avoid passing them through to the host.
#ifndef Q_OS_WIN #if 0
case SDL_SCANCODE_LGUI: case SDL_SCANCODE_LGUI:
keyCode = 0x5B; keyCode = 0x5B;
break; break;