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

List:       kde-commits
Subject:    branches/KDE/4.4/kdebase/workspace/kwin/effects/boxswitch
From:       Martin Gräßlin <ubuntu () martin-graesslin ! com>
Date:       2010-01-26 15:29:29
Message-ID: 1264519769.095223.4316.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1080621 by graesslin:

Backport rev 1080616:
setTabBoxWindow causes the ItemInfo to be regenerated, so we have to break the loop \
after finding a window. Makes more sense anyway as we do not have to go through the \
                hash to find the item we already found.
CCBUG: 222120


 M  +3 -0      boxswitch.cpp  


--- branches/KDE/4.4/kdebase/workspace/kwin/effects/boxswitch/boxswitch.cpp \
#1080620:1080621 @@ -257,7 +257,10 @@
         for( i = windows.constBegin(); i != windows.constEnd(); ++i )
             {
             if( i.value()->clickable.contains( pos ))
+                {
                 effects->setTabBoxWindow( i.key() );
+                break;
+                }
             }
         // special handling for second half of window in case of animation and even \
number of windows  if( mAnimateSwitch && ( windows.size() % 2 == 0 ) )


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

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