Do not confuse Laurent, and David, and perhaps even me :).

svn path=/trunk/kdebase/kwin/; revision=366081
This commit is contained in:
Luboš Luňák 2004-11-25 10:21:12 +00:00
parent c048d2b539
commit a0284f092c

View file

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