Bah, when searching stacking order in order to put a window below

the bottom-most window of the active application, search from bottom
and not from top. Fixes e.g. Shift+MMB on links in Konqy.

svn path=/trunk/kdebase/kwin/; revision=279960
icc-effect-5.14.5
Luboš Luňák 2004-01-15 17:48:56 +00:00
parent 6dea573226
commit 9807acc9d8
1 changed files with 3 additions and 3 deletions

View File

@ -387,10 +387,10 @@ void Workspace::restackClientUnderActive( Client* c )
// put in the stacking order below _all_ windows belonging to the active application // put in the stacking order below _all_ windows belonging to the active application
assert( unconstrained_stacking_order.contains( active_client )); assert( unconstrained_stacking_order.contains( active_client ));
for( ClientList::Iterator it = unconstrained_stacking_order.fromLast(); for( ClientList::Iterator it = unconstrained_stacking_order.begin();
it != unconstrained_stacking_order.end(); it != unconstrained_stacking_order.end();
--it ) ++it )
{ { // TODO ignore topmenus?
if( Client::belongToSameApplication( active_client, *it )) if( Client::belongToSameApplication( active_client, *it ))
{ {
if( *it != c ) if( *it != c )