diff options
author | Ken Moore <ken@pcbsd.org> | 2016-07-22 11:54:20 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2016-07-22 11:54:20 -0400 |
commit | e76e848fbd0e36d9e1d40e9f506c7e52ab247496 (patch) | |
tree | acadfeaf9b62d8882c475b4ebbac721a7acd15b4 /src-qt5/core-utils | |
parent | Minor tweak to the FreeBSD OS backend for screen brightness. (diff) | |
download | lumina-e76e848fbd0e36d9e1d40e9f506c7e52ab247496.tar.gz lumina-e76e848fbd0e36d9e1d40e9f506c7e52ab247496.tar.bz2 lumina-e76e848fbd0e36d9e1d40e9f506c7e52ab247496.zip |
Ensure that when re-loading previous screen settings it also puts the monitors in the same relative position to each other.
Diffstat (limited to 'src-qt5/core-utils')
-rw-r--r-- | src-qt5/core-utils/lumina-xconfig/ScreenSettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<ScreenInfo> 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; |