do not stack under desktops
svn path=/trunk/kdebase/kwin/; revision=140195
This commit is contained in:
parent
a266fb2fc0
commit
6c9397cc51
1 changed files with 3 additions and 2 deletions
|
@ -842,8 +842,9 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial )
|
|||
// window does not stem from a restored session.
|
||||
Client* ac = workspace()->activeClient();
|
||||
|
||||
if ( !session && ac && ac->userTime() > userTime()
|
||||
&& ( !isTransient() || mainClient() != ac ) ) {
|
||||
if ( !session && ac && !ac->isDesktop() &&
|
||||
ac->userTime() > userTime() &&
|
||||
( !isTransient() || mainClient() != ac ) ) {
|
||||
workspace()->stackClientUnderActive( this );
|
||||
show();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue