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 {