aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2018-09-10 09:11:44 -0400
committerKen Moore <ken@ixsystems.com>2018-09-10 09:11:44 -0400
commitb549010e57e912f847c0e5ec5192a3cf796f5e8e (patch)
tree57de62b8b55eb67436170aaa453aea612ac00943
parentMake sure that we point compton at the right config file when starting it. (diff)
downloadlumina-b549010e57e912f847c0e5ec5192a3cf796f5e8e.tar.gz
lumina-b549010e57e912f847c0e5ec5192a3cf796f5e8e.tar.bz2
lumina-b549010e57e912f847c0e5ec5192a3cf796f5e8e.zip
Make sure that the compositor process (compton) is properly watching/updating if the config changes
-rw-r--r--src-qt5/core/lumina-session/session.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-session/session.cpp b/src-qt5/core/lumina-session/session.cpp
index 8ce7c28b..360f631e 100644
--- a/src-qt5/core/lumina-session/session.cpp
+++ b/src-qt5/core/lumina-session/session.cpp
@@ -127,7 +127,7 @@ void LSession::setupCompositor(bool force){
if( !hasAccel && settings.value("compositingWithGpuAccelOnly",true).toBool() ){ startcompton = false; }
}
QString disp = getenv("DISPLAY");
- if(startcompton || force){ startProcess("compositing","compton --backend xr_glx_hybrid -d "+disp+" --config "+set); }
+ if(startcompton || force){ startProcess("compositing","compton --backend xr_glx_hybrid -d "+disp+" --config "+set, QStringList() << set); }
}else if(LUtils::isValidBinary("xcompmgr") && !settings.value("compositingWithGpuAccelOnly",true).toBool() ){ startProcess("compositing","xcompmgr"); }
}
}
bgstack15