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.
|
// window does not stem from a restored session.
|
||||||
Client* ac = workspace()->activeClient();
|
Client* ac = workspace()->activeClient();
|
||||||
|
|
||||||
if ( !session && ac && ac->userTime() > userTime()
|
if ( !session && ac && !ac->isDesktop() &&
|
||||||
&& ( !isTransient() || mainClient() != ac ) ) {
|
ac->userTime() > userTime() &&
|
||||||
|
( !isTransient() || mainClient() != ac ) ) {
|
||||||
workspace()->stackClientUnderActive( this );
|
workspace()->stackClientUnderActive( this );
|
||||||
show();
|
show();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue