transients stay also on top if the main client stays on top
svn path=/trunk/kdebase/kwin/; revision=54721
This commit is contained in:
parent
f5226e0281
commit
d332cf9c90
1 changed files with 2 additions and 2 deletions
|
@ -1615,11 +1615,11 @@ ClientList Workspace::constrainedStackingOrder( const ClientList& list )
|
|||
ClientList result;
|
||||
ClientList::ConstIterator it;
|
||||
for ( it = list.begin(); it!=list.end(); ++it) {
|
||||
if ( !(*it)->staysOnTop() )
|
||||
if ( !(*it)->staysOnTop() && !(*it)->mainClient()->staysOnTop())
|
||||
result.append( *it );
|
||||
}
|
||||
for ( it = list.begin(); it!=list.end(); ++it) {
|
||||
if ( (*it)->staysOnTop() )
|
||||
if ( (*it)->staysOnTop() || (*it)->mainClient()->staysOnTop() )
|
||||
result.append( *it );
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue