From f49d6e15a4755b97b0a377e8cdb2ffd7c16fbb39 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 14 Jan 2021 19:30:30 -0600 Subject: [PATCH] Fix clearing the wrong flag when activating mouse capture --- app/streaming/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/streaming/session.cpp b/app/streaming/session.cpp index 773a6b70..67860fb4 100644 --- a/app/streaming/session.cpp +++ b/app/streaming/session.cpp @@ -1476,7 +1476,7 @@ void Session::exec(int displayOriginX, int displayOriginY) // is set up, this ensures the window re-creation is already done. if (needsPostDecoderCreationCapture) { m_InputHandler->setCaptureActive(true); - needsFirstEnterCapture = false; + needsPostDecoderCreationCapture = false; } }