From 6c9397cc51c8bf46b9c68af997d03f7904bdeb91 Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Sat, 2 Mar 2002 15:00:59 +0000 Subject: [PATCH] do not stack under desktops svn path=/trunk/kdebase/kwin/; revision=140195 --- client.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client.cpp b/client.cpp index c1cabf2b67..02deb96064 100644 --- a/client.cpp +++ b/client.cpp @@ -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 {