From 07128cc7fefddfa49ad6db70232f76b639765dcb Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 24 Apr 2020 21:35:38 -0700 Subject: [PATCH] Allow keyboard input when the mouse is not captured --- app/streaming/input.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/streaming/input.cpp b/app/streaming/input.cpp index 29d3e16e..c9635559 100644 --- a/app/streaming/input.cpp +++ b/app/streaming/input.cpp @@ -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);