diff options
author | Ken Moore <moorekou@gmail.com> | 2016-02-04 13:39:47 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-02-04 13:39:47 -0500 |
commit | c25c0b1ad4e874be044474a2f105eac6e7cb1af5 (patch) | |
tree | 0c75b386df69597f3e4d6ed431ee7a8679fc2294 /lumina-xconfig/MainUI.cpp | |
parent | Cleanup how the ~/Desktop/* shortcuts are removed a bit. Now it catches these... (diff) | |
download | lumina-c25c0b1ad4e874be044474a2f105eac6e7cb1af5.tar.gz lumina-c25c0b1ad4e874be044474a2f105eac6e7cb1af5.tar.bz2 lumina-c25c0b1ad4e874be044474a2f105eac6e7cb1af5.zip |
When moving a screen left/right, don't change the resolution (same physical monitor - just internal location change).
Diffstat (limited to 'lumina-xconfig/MainUI.cpp')
-rw-r--r-- | lumina-xconfig/MainUI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lumina-xconfig/MainUI.cpp b/lumina-xconfig/MainUI.cpp index afa65323..d2216fa7 100644 --- a/lumina-xconfig/MainUI.cpp +++ b/lumina-xconfig/MainUI.cpp @@ -191,7 +191,7 @@ void MainUI::MoveScreenLeft(){ if(item == 0){ return; } //no item on the left (can't go left) QString LID = item->whatsThis(); //left ID //Now run the command - LUtils::runCmd("xrandr", QStringList() << "--output" << CID << "--left-of" << LID << "--auto"); + LUtils::runCmd("xrandr", QStringList() << "--output" << CID << "--left-of" << LID); QTimer::singleShot(500, this, SLOT(UpdateScreens()) ); } @@ -205,7 +205,7 @@ void MainUI::MoveScreenRight(){ if(item == 0){ return; } //no item on the right (can't go right) QString RID = item->whatsThis(); //right ID //Now run the command - LUtils::runCmd("xrandr", QStringList() << "--output" << CID << "--right-of" << RID << "--auto"); + LUtils::runCmd("xrandr", QStringList() << "--output" << CID << "--right-of" << RID); QTimer::singleShot(500, this, SLOT(UpdateScreens()) ); } |