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
This commit is contained in:
Luboš Luňák 2002-10-17 14:48:34 +00:00
parent 045810a50e
commit a8f13c1c9b

View file

@ -889,7 +889,7 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial )
unsigned long usertime = 0; unsigned long usertime = 0;
if ( !isTransient() && !session && ac && !ac->isDesktop() && if ( !isTransient() && !session && ac && !ac->isDesktop() &&
ac->resourceClass() != resourceClass() && ac->resourceName() != resourceName() &&
( usertime = userTime() ) > 0 && ac->userTime() > usertime ) { ( usertime = userTime() ) > 0 && ac->userTime() > usertime ) {
workspace()->stackClientUnderActive( this ); workspace()->stackClientUnderActive( this );
show(); show();