From 02019000df5f8afac32980d978818990203a909d Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 21 Jan 2021 23:05:48 -0600 Subject: [PATCH] Ctrl+Alt+Shift+Down Arrow is a reserved key combo on GNOME, so switch to Ctrl+Alt+Shift+D --- app/streaming/input/keyboard.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/streaming/input/keyboard.cpp b/app/streaming/input/keyboard.cpp index 2edd83f3..6c182400 100644 --- a/app/streaming/input/keyboard.cpp +++ b/app/streaming/input/keyboard.cpp @@ -86,8 +86,8 @@ void SdlInputHandler::handleKeyEvent(SDL_KeyboardEvent* event) raiseAllKeys(); return; } - // Check for the mouse mode toggle combo (Ctrl+Alt+Shift+DownArrow) unless on EGLFS which has no window manager - else if (event->keysym.sym == SDLK_DOWN && QGuiApplication::platformName() != "eglfs") { + // Check for the mouse mode toggle combo (Ctrl+Alt+Shift+D) unless on EGLFS which has no window manager + else if (event->keysym.sym == SDLK_d && QGuiApplication::platformName() != "eglfs") { SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Detected minimize combo (SDLK)"); @@ -173,8 +173,8 @@ void SdlInputHandler::handleKeyEvent(SDL_KeyboardEvent* event) setCaptureActive(true); return; } - // Check for the mouse mode toggle combo (Ctrl+Alt+Shift+DownArrow) unless on EGLFS which has no window manager - else if (event->keysym.scancode == SDL_SCANCODE_DOWN && QGuiApplication::platformName() != "eglfs") { + // Check for the mouse mode toggle combo (Ctrl+Alt+Shift+D) unless on EGLFS which has no window manager + else if (event->keysym.scancode == SDL_SCANCODE_D && QGuiApplication::platformName() != "eglfs") { SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, "Detected minimize combo (scancode)");