diff options
author | Ken Moore <ken@ixsystems.com> | 2018-09-06 15:40:30 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-09-06 15:40:30 -0400 |
commit | c72934ff962322e6593780052c4af528f3c75974 (patch) | |
tree | e5c60df84fd45461a491f3e1aa567d9220c6d481 /src-qt5/core/lumina-session | |
parent | iFix a syntax issue with the cpp.json syntax ruleset (diff) | |
parent | When a desktop is resized automatically re-do the wallpaper as well. (diff) | |
download | lumina-c72934ff962322e6593780052c4af528f3c75974.tar.gz lumina-c72934ff962322e6593780052c4af528f3c75974.tar.bz2 lumina-c72934ff962322e6593780052c4af528f3c75974.zip |
Merge branch 'master' of github.com:lumina-desktop/lumina
Diffstat (limited to 'src-qt5/core/lumina-session')
-rw-r--r-- | src-qt5/core/lumina-session/session.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-session/session.cpp b/src-qt5/core/lumina-session/session.cpp index c4707626..7ecebdcc 100644 --- a/src-qt5/core/lumina-session/session.cpp +++ b/src-qt5/core/lumina-session/session.cpp @@ -141,6 +141,10 @@ void LSession::start(bool unified){ setenv("QT_QPA_PLATFORMTHEME","lthemeengine", true); setenv("QT_NO_GLIB", "1", 1); //Disable the glib event loop within Qt at runtime (performance hit + bugs) unsetenv("QT_AUTO_SCREEN_SCALE_FACTOR"); //need exact-pixel measurements (no fake scaling) + if(LUtils::isValidBinary("xdg-user-dirs-update")){ + //Make sure the XDG user directories are created as needed first + QProcess::execute("xdg-user-dirs-update"); + } if(!unified){ QSettings sessionsettings("lumina-desktop","sessionsettings"); @@ -181,13 +185,13 @@ void LSession::start(bool unified){ startProcess("wm", WM); } //Desktop Next - startProcess("runtime","lumina-desktop"); + startProcess("runtime","lumina-desktop -new-instance"); //ScreenSaver if(LUtils::isValidBinary("xscreensaver")){ startProcess("screensaver","xscreensaver -no-splash"); } }else{ //unified process setupCompositor(true); //required for Lumina 2 - startProcess("runtime","lumina-desktop-unified"); + startProcess("runtime","lumina-desktop-unified -new-instance"); } } |