From 02a1c0e3a9e380d336ee8538436c313fd501c730 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 6 Jun 2016 15:05:36 -0400 Subject: Update lumina-xconfig (and lumina-session) so that it saves/reloads the previous display configuration on Lumina start. --- src-qt5/core/lumina-session/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src-qt5/core/lumina-session/main.cpp') 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; -- cgit