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
This commit is contained in:
parent
bb9b3a94c6
commit
6accc9a990
1 changed files with 1 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue