From 3f9aafc7ec7f04e9b4e97135b4ff4c3450707199 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 16 May 2018 02:19:17 -0400 Subject: Always enable the hybrid xrender/glx backend for compton. --- src-qt5/core/lumina-session/session.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src-qt5/core/lumina-session/session.cpp') 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"); } } -- cgit