diff --git a/app/streaming/session.cpp b/app/streaming/session.cpp index dda37d84..8397d7a4 100644 --- a/app/streaming/session.cpp +++ b/app/streaming/session.cpp @@ -742,7 +742,9 @@ void Session::exec() // Capture the mouse by default on release builds only. // This prevents the mouse from becoming trapped inside // Moonlight when it's halted at a debug break. - SDL_SetRelativeMouseMode(SDL_TRUE); + if (m_Preferences.fullScreen) { + SDL_SetRelativeMouseMode(SDL_TRUE); + } #endif // Stop text input. SDL enables it by default