[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/desktop/shell
From:       Ivan Čukić <ivan.cukic () kde ! org>
Date:       2010-11-27 11:39:32
Message-ID: 20101127113932.EB974AC8A2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1201329 by ivan:

As per previous Aaron's patch, non-PVD shouldn't think desktop == 0 anywhere

it may produce some transitioning problems but it will return plasma-desktop on the right path :)

BUG:258052



 M  +0 -6      activity.cpp  


--- trunk/KDE/kdebase/workspace/plasma/desktop/shell/activity.cpp #1201328:1201329
@@ -311,12 +311,6 @@
     int screen = cont->lastScreen();
     int desktop = cont->lastDesktop();
 
-    //desktop -1 and 0 should share the same containment (for when PVD is changed)
-    if (desktop == -1) {
-        desktop = 0;
-        //kDebug() << "desktop was -1";
-    }
-
     kDebug() << screen << desktop;
     if (screen == -1) {
         //the migration can't set lastScreen, so maybe we need to assign the containment here
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic