diff --git a/app/backend/nvhttp.cpp b/app/backend/nvhttp.cpp index 15a314d2..43c720a0 100644 --- a/app/backend/nvhttp.cpp +++ b/app/backend/nvhttp.cpp @@ -281,6 +281,9 @@ NvHTTP::getAppList() else if (name == "IsHdrSupported") { apps.last().hdrSupported = xmlReader.readElementText() == "1"; } + else if (name == "IsAppCollectorGame") { + apps.last().isAppCollectorGame = xmlReader.readElementText() == "1"; + } } } diff --git a/app/backend/nvhttp.h b/app/backend/nvhttp.h index efa89ae0..f0c606a6 100644 --- a/app/backend/nvhttp.h +++ b/app/backend/nvhttp.h @@ -24,6 +24,7 @@ public: int id; QString name; bool hdrSupported; + bool isAppCollectorGame; }; Q_DECLARE_METATYPE(NvApp) diff --git a/app/streaming/session.cpp b/app/streaming/session.cpp index 7de91238..55c8ff55 100644 --- a/app/streaming/session.cpp +++ b/app/streaming/session.cpp @@ -517,6 +517,10 @@ bool Session::validateLaunch(SDL_Window* testWindow) { QStringList warningList; + if (m_Preferences->absoluteMouseMode && !m_App.isAppCollectorGame) { + emitLaunchWarning("Your selection to enable remote desktop mouse mode may cause problems in games."); + } + if (m_Preferences->videoDecoderSelection == StreamingPreferences::VDS_FORCE_SOFTWARE) { if (m_Preferences->videoCodecConfig == StreamingPreferences::VCC_FORCE_HEVC_HDR) { emitLaunchWarning("HDR is not supported with software decoding.");