mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2025-03-04 22:57:14 +00:00
Allow keyboard input when the mouse is not captured
This commit is contained in:
parent
0892f0b0bb
commit
07128cc7fe
1 changed files with 0 additions and 5 deletions
|
@ -354,11 +354,6 @@ void SdlInputHandler::handleKeyEvent(SDL_KeyboardEvent* event)
|
|||
}
|
||||
}
|
||||
|
||||
if (!isCaptureActive()) {
|
||||
// Not capturing
|
||||
return;
|
||||
}
|
||||
|
||||
if (event->repeat) {
|
||||
// Ignore repeat key down events
|
||||
SDL_assert(event->state == SDL_PRESSED);
|
||||
|
|
Loading…
Add table
Reference in a new issue