diff --git a/client.cpp b/client.cpp index 201a6c25bc..c8e38074a2 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->resourceClass() != resourceClass() && + ac->resourceName() != resourceName() && ( usertime = userTime() ) > 0 && ac->userTime() > usertime ) { workspace()->stackClientUnderActive( this ); show();