aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-session
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-06-06 15:05:36 -0400
committerKen Moore <moorekou@gmail.com>2016-06-06 15:05:36 -0400
commit02a1c0e3a9e380d336ee8538436c313fd501c730 (patch)
treecf709b375c028e5bb9d6100a7f97c59b9c80fd80 /src-qt5/core/lumina-session
parentMake sure that lumina-fm will also remove broken symlinks when deleting a dir... (diff)
downloadlumina-02a1c0e3a9e380d336ee8538436c313fd501c730.tar.gz
lumina-02a1c0e3a9e380d336ee8538436c313fd501c730.tar.bz2
lumina-02a1c0e3a9e380d336ee8538436c313fd501c730.zip
Update lumina-xconfig (and lumina-session) so that it saves/reloads the previous display configuration on Lumina start.
Diffstat (limited to 'src-qt5/core/lumina-session')
-rw-r--r--src-qt5/core/lumina-session/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-session/main.cpp b/src-qt5/core/lumina-session/main.cpp
index 8f89e95c..27eaf537 100644
--- a/src-qt5/core/lumina-session/main.cpp
+++ b/src-qt5/core/lumina-session/main.cpp
@@ -40,7 +40,9 @@ int main(int argc, char ** argv)
//Start X11 if needed
//Configure X11 monitors if needed
-
+ if(LUtils::isValidBinary("lumina-xconfig")){
+ QProcess::execute("lumina-xconfig --reset-monitors");
+ }
//Startup the session
QCoreApplication a(argc, argv);
LSession sess;
bgstack15