diff options
author | Ken Moore <moorekou@gmail.com> | 2020-07-02 09:21:17 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2020-07-02 09:21:17 -0400 |
commit | 3dbfc711785df2e9cb43a2a8e593638abaceb64d (patch) | |
tree | 2a2199c958403e591a11e731790a7f8c230f0cd8 /src-qt5/core/lumina-session/session.cpp | |
parent | Ensure the older screensaver system in X11 is also disabled when DPMS is disa... (diff) | |
download | lumina-master.tar.gz lumina-master.tar.bz2 lumina-master.zip |
Cleanup some more of the lumina startup routines - specifically around the compositor startupHEADmaster
Diffstat (limited to 'src-qt5/core/lumina-session/session.cpp')
-rw-r--r-- | src-qt5/core/lumina-session/session.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-session/session.cpp b/src-qt5/core/lumina-session/session.cpp index cba855c9..b344b1d8 100644 --- a/src-qt5/core/lumina-session/session.cpp +++ b/src-qt5/core/lumina-session/session.cpp @@ -88,7 +88,13 @@ void LSession::procFinished(){ //if(PROCS[i]->exitCode()==787){ PROCS[i]->start(QIODevice::ReadOnly); } //special internal restart code //else{ stopall(); //} - }else if(PROCS[i]->objectName()=="wm" && wmfails<2){ wmfails++; PROCS[i]->start(QIODevice::ReadOnly); wmTimer->start(); } //restart the WM + }else if(PROCS[i]->objectName()=="wm" && wmfails<2){ + wmfails++; + PROCS[i]->start(QIODevice::ReadOnly); wmTimer->start(); //restart the WM + }else if(PROCS[i]->objectName()=="compositing" && compfails<2){ + compfails++; + PROCS[i]->start(QIODevice::ReadOnly); compTimer->start(); //restart the compositor + } //if(PROCS[i]->program().section("/",-1) == "lumina-desktop"){ stopall(); } //start closing down everything //else{ PROCS[i]->start(QIODevice::ReadOnly); } //restart the process //break; |