Don't try to restack a window below itself.
CCMAIL:70004-done@bugs.kde.org svn path=/trunk/kdebase/kwin/; revision=272436
This commit is contained in:
parent
338593f621
commit
ab07ba1c70
1 changed files with 5 additions and 2 deletions
|
@ -392,8 +392,11 @@ void Workspace::restackClientUnderActive( Client* c )
|
|||
{
|
||||
if( Client::belongToSameApplication( active_client, *it ))
|
||||
{
|
||||
unconstrained_stacking_order.remove( c );
|
||||
unconstrained_stacking_order.insert( it, c );
|
||||
if( *it != c )
|
||||
{
|
||||
unconstrained_stacking_order.remove( c );
|
||||
unconstrained_stacking_order.insert( it, c );
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue