diff options
author | Ken Moore <ken@ixsystems.com> | 2017-06-19 19:07:44 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-06-19 19:07:44 -0400 |
commit | 176a14f47e9d8a74d10b2479e08e0e69a242c786 (patch) | |
tree | b5ddae6231dbf87dd4f8a700ef2131c75fda508b /src-qt5 | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-176a14f47e9d8a74d10b2479e08e0e69a242c786.tar.gz lumina-176a14f47e9d8a74d10b2479e08e0e69a242c786.tar.bz2 lumina-176a14f47e9d8a74d10b2479e08e0e69a242c786.zip |
Fix the migration routine when moving from the "default" monitor ID (vesa, scfb) to a non-"default" ID.
Diffstat (limited to 'src-qt5')
-rw-r--r-- | src-qt5/core/lumina-desktop/LSession.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.cpp b/src-qt5/core/lumina-desktop/LSession.cpp index 97f74e66..ebd40030 100644 --- a/src-qt5/core/lumina-desktop/LSession.cpp +++ b/src-qt5/core/lumina-desktop/LSession.cpp @@ -415,8 +415,7 @@ void LSession::updateDesktops(){ QString oldname; for(int i=0; i<old.length(); i++){ QString tmp = old[i].section("/",0,0).section("-",1,-1); //old desktop ID - if(tmp=="default"){ continue; } //always skip this one - else if(lastused.contains(tmp)){ + if(lastused.contains(tmp)){ oldname = tmp; break; //use the first screen that was last used } } |