diff --git a/app/gui/SettingsView.qml b/app/gui/SettingsView.qml index 8191a67a..b74c0a96 100644 --- a/app/gui/SettingsView.qml +++ b/app/gui/SettingsView.qml @@ -955,7 +955,6 @@ Flickable { } CheckBox { - visible: SystemProperties.hasDesktopEnvironment id: keepAwakeCheck width: parent.width text: qsTr("Keep PC awake while streaming") diff --git a/app/streaming/session.cpp b/app/streaming/session.cpp index 01200b09..b7312b60 100644 --- a/app/streaming/session.cpp +++ b/app/streaming/session.cpp @@ -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(); }