Make sure splashscreens stay on top of other windows in the app.

svn path=/trunk/kdebase/kwin/; revision=314694
icc-effect-5.14.5
Luboš Luňák 2004-05-26 08:47:37 +00:00
parent 8602173bd4
commit 598c604fb6
1 changed files with 6 additions and 4 deletions

View File

@ -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 );