mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-07 16:26:09 +00:00
Allow the screensaver toggle to work even if running on an embedded platform
This commit is contained in:
@@ -1468,8 +1468,8 @@ void Session::execInternal()
|
||||
// on macOS.
|
||||
SDL_StopTextInput();
|
||||
|
||||
// Disable the screen saver if requested or running as embedded platform
|
||||
if (m_Preferences->keepAwake || !WMUtils::isRunningDesktopEnvironment()) {
|
||||
// Disable the screen saver if requested
|
||||
if (m_Preferences->keepAwake) {
|
||||
SDL_DisableScreenSaver();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user