aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop')
-rw-r--r--lumina-desktop/WMProcess.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lumina-desktop/WMProcess.cpp b/lumina-desktop/WMProcess.cpp
index e704091a..a2a4933f 100644
--- a/lumina-desktop/WMProcess.cpp
+++ b/lumina-desktop/WMProcess.cpp
@@ -28,7 +28,10 @@ void WMProcess::startWM(){
inShutdown = false;
QString cmd = setupWM();
if(!isRunning()){this->start(cmd); }
- if(ssaver->state() == QProcess::NotRunning){ ssaver->start("xscreensaver -no-splash"); }
+ if(ssaver->state() == QProcess::NotRunning \
+ && LSession::handle()->sessionSettings()->value("WindowManager", "fluxbox").toString() != "lumina-wm"){
+ ssaver->start("xscreensaver -no-splash");
+ }
}
void WMProcess::stopWM(){
@@ -128,4 +131,3 @@ void WMProcess::processFinished(int exitcode, QProcess::ExitStatus status){
cleanupConfig();
}
}
-
bgstack15