From 2d9f62761ca8c9865a0edbcae140359c9012277c Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 13 Mar 2020 18:11:31 -0700 Subject: [PATCH] Don't pass through the super key to the host --- app/streaming/input.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/streaming/input.cpp b/app/streaming/input.cpp index 3eeffb96..4621bce5 100644 --- a/app/streaming/input.cpp +++ b/app/streaming/input.cpp @@ -483,9 +483,9 @@ void SdlInputHandler::handleKeyEvent(SDL_KeyboardEvent* event) case SDL_SCANCODE_RALT: keyCode = 0xA5; break; - // Until we can fully capture these on Windows, we should avoid - // passing them through to the host. - #ifndef Q_OS_WIN + // Until we can fully capture these on all platforms (without conflicting with + // OS-provided shortcuts), we should avoid passing them through to the host. + #if 0 case SDL_SCANCODE_LGUI: keyCode = 0x5B; break;