From a8f13c1c9bf93696683be827876825a835927d45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 17 Oct 2002 14:48:34 +0000 Subject: [PATCH] X resource name is the same for all app's windows, X resource class may differ for the same app. David says the correct spelling is 'faux pas' :). svn path=/trunk/kdebase/kwin/; revision=184347 --- client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();