Only capture the mouse by default for full screen streaming
This commit is contained in:
parent
e1ca6e644e
commit
917f6e5ee9
1 changed files with 3 additions and 1 deletions
|
|
@ -742,7 +742,9 @@ void Session::exec()
|
||||||
// Capture the mouse by default on release builds only.
|
// Capture the mouse by default on release builds only.
|
||||||
// This prevents the mouse from becoming trapped inside
|
// This prevents the mouse from becoming trapped inside
|
||||||
// Moonlight when it's halted at a debug break.
|
// Moonlight when it's halted at a debug break.
|
||||||
SDL_SetRelativeMouseMode(SDL_TRUE);
|
if (m_Preferences.fullScreen) {
|
||||||
|
SDL_SetRelativeMouseMode(SDL_TRUE);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Stop text input. SDL enables it by default
|
// Stop text input. SDL enables it by default
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue