Ctrl+Alt+Shift+Down Arrow is a reserved key combo on GNOME, so switch to Ctrl+Alt+Shift+D
This commit is contained in:
parent
6262f51c96
commit
02019000df
1 changed files with 4 additions and 4 deletions
|
|
@ -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)");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue