From 7280bd96375167dc0e8365d0074481851882aba5 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 12 Nov 2015 11:40:06 -0500 Subject: 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. --- lumina-desktop/LSession.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lumina-desktop/LSession.cpp') 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; jScreen()==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 -- cgit