A somewhat hackish fix for #76026 (don't force non-modal dialogs above
their mainwindow). svn path=/trunk/kdebase/kwin/; revision=329879
This commit is contained in:
parent
97b3ba39a0
commit
7a8eda06ff
1 changed files with 6 additions and 0 deletions
|
@ -607,6 +607,12 @@ bool Workspace::keepTransientAbove( const Client* mainwindow, const Client* tran
|
|||
// group transients way too high.
|
||||
if( mainwindow->isTopMenu() && transient->groupTransient())
|
||||
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)
|
||||
// needs to be found.
|
||||
if( transient->isDialog() && !transient->isModal() && transient->groupTransient())
|
||||
return false;
|
||||
return true;
|
||||
// #63223 - don't keep transients above docks, because the dock is kept high,
|
||||
// and e.g. dialogs for them would be too high too
|
||||
|
|
Loading…
Reference in a new issue