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 | |
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.
-rw-r--r-- | lumina-desktop/LSession.cpp | 3 | ||||
-rw-r--r-- | lumina-desktop/lumina-desktop.pro | 2 |
2 files changed, 3 insertions, 2 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 diff --git a/lumina-desktop/lumina-desktop.pro b/lumina-desktop/lumina-desktop.pro index 8db2662e..4315b2a5 100644 --- a/lumina-desktop/lumina-desktop.pro +++ b/lumina-desktop/lumina-desktop.pro @@ -1,6 +1,6 @@ QT += core gui network -greaterThan(QT_MAJOR_VERSION, 4): QT += widgets x11extras multimedia quickwidgets concurrent +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets x11extras multimedia quickwidgets concurrent svg TARGET = Lumina-DE |