diff options
author | Ken Moore <ken@ixsystems.com> | 2018-05-16 02:19:17 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-05-16 02:19:17 -0400 |
commit | 3f9aafc7ec7f04e9b4e97135b4ff4c3450707199 (patch) | |
tree | 53b48e25fe5d5e592623cd2592397666b88fd7d5 /src-qt5/core/lumina-session/session.cpp | |
parent | Get the Clock plugin cleaned up a bit so it better supports multi-line panels. (diff) | |
download | lumina-3f9aafc7ec7f04e9b4e97135b4ff4c3450707199.tar.gz lumina-3f9aafc7ec7f04e9b4e97135b4ff4c3450707199.tar.bz2 lumina-3f9aafc7ec7f04e9b4e97135b4ff4c3450707199.zip |
Always enable the hybrid xrender/glx backend for compton.
Diffstat (limited to 'src-qt5/core/lumina-session/session.cpp')
-rw-r--r-- | src-qt5/core/lumina-session/session.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-session/session.cpp b/src-qt5/core/lumina-session/session.cpp index 0f0a99eb..665b6a40 100644 --- a/src-qt5/core/lumina-session/session.cpp +++ b/src-qt5/core/lumina-session/session.cpp @@ -127,7 +127,7 @@ void LSession::setupCompositor(){ } QString disp = getenv("DISPLAY"); if(startcompton && QFile::exists(set)){ startProcess("compositing","compton -d "+disp+" --config \""+set+"\"", QStringList() << set); } - else if(startcompton){ startProcess("compositing","compton -d "+disp); } + else if(startcompton){ startProcess("compositing","compton --backend xr_glx_hybrid -d "+disp); } }else if(LUtils::isValidBinary("xcompmgr") && !settings.value("compositingWithGpuAccelOnly",true).toBool() ){ startProcess("compositing","xcompmgr"); } } } @@ -187,7 +187,7 @@ void LSession::start(bool unified){ if(LUtils::isValidBinary("xscreensaver")){ startProcess("screensaver","xscreensaver -no-splash"); } }else{ //unified process - setupCompositor(); + setupCompositor(); //required for Lumina 2 startProcess("runtime","lumina-desktop-unified"); } } |