From fb111c1d1d4bb10846110e38ba53990aa657bc57 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Sat, 23 Apr 2016 07:08:40 -0400 Subject: Get some more of the new WM functional. Still not ready to be used by the faint of heart. --- lumina-desktop/WMProcess.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lumina-desktop') 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(); } } - -- cgit