Make dialogs an exception from keeping splashscreens on top of every other

window from the app (#93832). IMHO the real problem is in apps showing
modal dialogs while they still have a splascreen visible, but I've seen
this already enough times.
CCBUG: 93832

svn path=/trunk/kdebase/kwin/; revision=365833
This commit is contained in:
Luboš Luňák 2004-11-24 14:51:10 +00:00
parent 5baf4a79c4
commit c048d2b539

View file

@ -607,6 +607,9 @@ bool Workspace::keepTransientAbove( const Client* mainwindow, const Client* tran
// group transients way too high.
if( mainwindow->isTopMenu() && transient->groupTransient())
return false;
// #93832 - don't keep splashscreens above dialogs
if( transient->isSplash() && mainwindow->isDialog())
return false;
// This is rather a hack for #76026. Don't keep non-modal dialogs above
// the mainwindow, but only if they're group transient (since only such dialogs
// have taskbar entry in Kicker). A proper way of doing this (both kwin and kicker)