From f926ad9b5ee02a71bd77129592a37c3bf482a519 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 25 Apr 2020 15:41:45 -0700 Subject: [PATCH] Fix inverted capture-by-default setting --- 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 78426fd5..7de91238 100644 --- a/app/streaming/session.cpp +++ b/app/streaming/session.cpp @@ -1131,7 +1131,7 @@ void Session::exec(int displayOriginX, int displayOriginY) // Capture the mouse in relative mode by default on release builds only. // This prevents the mouse from becoming trapped inside Moonlight when // it's halted at a debug break. -#ifndef QT_DEBUG +#ifdef QT_DEBUG if (prefs.absoluteMouseMode) #endif {