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=279960icc-effect-5.14.5
parent
6dea573226
commit
9807acc9d8
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue