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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/pager
From:       Marco Martin <notmart () gmail ! com>
Date:       2008-12-26 21:32:59
Message-ID: 1230327179.735348.24367.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 901896 by mart:

don't count number of desktops times the windows on all desktops :)


 M  +1 -2      pager.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/pager/pager.cpp #901895:901896
@@ -1144,8 +1144,7 @@
     QList<WId> windows;
 
     foreach(KWindowInfo winInfo, m_windowInfo){
-        if ((winInfo.isOnDesktop(hoverDesktopNumber) || winInfo.onAllDesktops() )
-                                                    && !windows.contains(winInfo.win())) {
+        if (winInfo.isOnDesktop(hoverDesktopNumber) && !windows.contains(winInfo.win())) {
             bool active = (winInfo.win() == KWindowSystem::activeWindow());
             if ((taskCounter < 4) || active){    
                 QPixmap icon = KWindowSystem::icon(winInfo.win(), 16, 16, true);
[prev in list] [next in list] [prev in thread] [next in thread] 

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