Make sure splashscreens stay on top of other windows in the app.
svn path=/trunk/kdebase/kwin/; revision=314694
This commit is contained in:
parent
8602173bd4
commit
598c604fb6
1 changed files with 6 additions and 4 deletions
10
group.cpp
10
group.cpp
|
@ -843,19 +843,21 @@ void Client::checkGroup( Group* set_group, bool force )
|
|||
(*it)->addTransient( this );
|
||||
}
|
||||
#endif
|
||||
#if 0 // this would make group transients transient for window that were mapped later
|
||||
// group transient splashscreens should be transient even for windows
|
||||
// in group mapped later
|
||||
for( ClientList::ConstIterator it = group()->members().begin();
|
||||
it != group()->members().end();
|
||||
++it )
|
||||
{
|
||||
if( !(*it)->groupTransient()) // and group transients in the new group are transient for it
|
||||
if( !(*it)->isSplash())
|
||||
continue;
|
||||
if( *it == this )
|
||||
if( !(*it)->groupTransient())
|
||||
continue;
|
||||
if( *it == this || hasTransient( *it, true )) // TODO indirect?
|
||||
continue;
|
||||
addTransient( *it );
|
||||
}
|
||||
checkGroupTransients();
|
||||
#endif
|
||||
}
|
||||
checkGroupTransients();
|
||||
workspace()->updateClientLayer( this );
|
||||
|
|
Loading…
Reference in a new issue