diff options
author | Ken Moore <moorekou@gmail.com> | 2015-11-12 11:40:06 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-11-12 11:40:06 -0500 |
commit | 7280bd96375167dc0e8365d0074481851882aba5 (patch) | |
tree | 0b28800006c4887f6d970494d52cd0250bc68fc3 /lumina-desktop/LSession.cpp | |
parent | Add ~50% of the client EWMH window property support. (diff) | |
download | lumina-7280bd96375167dc0e8365d0074481851882aba5.tar.gz lumina-7280bd96375167dc0e8365d0074481851882aba5.tar.bz2 lumina-7280bd96375167dc0e8365d0074481851882aba5.zip |
Remove a geometry-match condition when re-loading the desktop canvas's. This could cause the wrong number of desktop canvases to get created/moved.
Diffstat (limited to 'lumina-desktop/LSession.cpp')
-rw-r--r-- | lumina-desktop/LSession.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp index 4934d42b..3fcb2e41 100644 --- a/lumina-desktop/LSession.cpp +++ b/lumina-desktop/LSession.cpp @@ -500,7 +500,8 @@ void LSession::updateDesktops(){ bool found = false; for(int j=0; j<DESKTOPS.length() && !found; j++){ //Match either the screen number or the screen location (preventing duplicates) - if(DESKTOPS[j]->Screen()==i || DW->screenGeometry(i)==DW->screenGeometry(DESKTOPS[j]->Screen()) ){ found = true; } + //if(DESKTOPS[j]->Screen()==i || DW->screenGeometry(i)==DW->screenGeometry(DESKTOPS[j]->Screen()) ){ found = true; } + if(DESKTOPS[j]->Screen()==i ){ found = true; } } if(!found){ //Start the desktop on the new screen |