Don't keep dialogs above mainwindow if that mainwindow happens to be a dock.

Let's see what that does.
BUG: 63223

svn path=/trunk/kdebase/kwin/; revision=367418
icc-effect-5.14.5
Luboš Luňák 2004-11-30 14:26:09 +00:00
parent bb9b3a94c6
commit 6accc9a990
1 changed files with 1 additions and 6 deletions

View File

@ -616,15 +616,10 @@ bool Workspace::keepTransientAbove( const Client* mainwindow, const Client* tran
// needs to be found.
if( transient->isDialog() && !transient->isModal() && transient->groupTransient())
return false;
#if 0
// #63223 - don't keep transients above docks, because the dock is kept high,
// and e.g. dialogs for them would be too high too
// TODO this doesn't really work - the transient should be raised after clicking
// on the dock, but docks don't become active after clicking them
if( mainwindow->isDock() && !mainwindow->keepBelow()
&& !mainwindow->isActive() && !transient->isActive()) // TODO !w->group()->isActive() ???
if( mainwindow->isDock())
return false;
#endif
return true;
}