diff --git a/client.cpp b/client.cpp index 832b84971b..b7567408db 100644 --- a/client.cpp +++ b/client.cpp @@ -889,7 +889,7 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial ) unsigned long usertime = 0; if ( !isTransient() && !session && ac && !ac->isDesktop() && - ac->resourceName() != resourceName() && + ac->resourceClass() != resourceClass() && ( usertime = userTime() ) > 0 && ac->userTime() > usertime ) { workspace()->stackClientUnderActive( this ); show();