Make sure the unconstrained_stacking_order list contains all clients.
First part for #68553. svn path=/trunk/kdebase/kwin/; revision=268141
This commit is contained in:
parent
95cc10f6ca
commit
290d7207e6
1 changed files with 2 additions and 0 deletions
|
@ -388,10 +388,12 @@ void Workspace::restackClientUnderActive( Client* c )
|
||||||
{
|
{
|
||||||
if( Client::belongToSameApplication( active_client, *it ))
|
if( Client::belongToSameApplication( active_client, *it ))
|
||||||
{
|
{
|
||||||
|
unconstrained_stacking_order.remove( c );
|
||||||
unconstrained_stacking_order.insert( it, c );
|
unconstrained_stacking_order.insert( it, c );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
assert( unconstrained_stacking_order.contains( c ));
|
||||||
if( c->wantsTabFocus() && focus_chain.contains( active_client ))
|
if( c->wantsTabFocus() && focus_chain.contains( active_client ))
|
||||||
{
|
{
|
||||||
// also put in focus_chain after all windows belonging to the active application
|
// also put in focus_chain after all windows belonging to the active application
|
||||||
|
|
Loading…
Reference in a new issue