From e76e848fbd0e36d9e1d40e9f506c7e52ab247496 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 22 Jul 2016 11:54:20 -0400 Subject: Ensure that when re-loading previous screen settings it also puts the monitors in the same relative position to each other. --- src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5/core-utils') diff --git a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp b/src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp index c9a833c3..43584a1c 100644 --- a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp +++ b/src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp @@ -183,7 +183,7 @@ void RRSettings::Apply(QList screens){ qDebug() << " -- Screen:" << i << screens[i].ID << screens[i].isactive << screens[i].order; if(screens[i].order <0 || !screens[i].isactive){ continue; } //skip this screen - non-active opts << "--output" << screens[i].ID << "--mode" << QString::number(screens[i].geom.width())+"x"+QString::number(screens[i].geom.height()); - //opts << "--pos" << QString::number(screens[i].geom.x())+"x"+QString::number(screens[i].geom.y()); + opts << "--pos" << QString::number(screens[i].geom.x())+"x"+QString::number(screens[i].geom.y()); if(screens[i].isprimary){ opts << "--primary"; } } qDebug() << "Run command: xrandr" << opts; -- cgit