aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-session/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/lumina-session/main.cpp')
-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