Don't apply strict placement policy to dialogs without any parent at all.
(for kdialog --geometry etc.). svn path=/trunk/kdebase/kwin/; revision=341782
This commit is contained in:
parent
cd99ad5168
commit
7e4f0508cf
1 changed files with 6 additions and 1 deletions
|
@ -221,7 +221,12 @@ bool Client::manage( Window w, bool isMapped )
|
|||
else if( isDialog() && hasNETSupport())
|
||||
// if the dialog is actually non-NETWM transient window, don't try to apply placement to it,
|
||||
// it breaks with too many things (xmms, display)
|
||||
; // force using placement policy
|
||||
{
|
||||
if( mainClients().count() >= 1 )
|
||||
; // force using placement policy
|
||||
else
|
||||
usePosition = true;
|
||||
}
|
||||
else if( isSplash())
|
||||
; // force using placement policy
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue