Don't compare with itself when searching for other windows belonging to the app.

svn path=/trunk/kdebase/kwin/; revision=269295
This commit is contained in:
Luboš Luňák 2003-11-24 14:25:47 +00:00
parent 2553476f53
commit 0654c0d3b7

View file

@ -617,7 +617,7 @@ KWIN_COMPARE_PREDICATE( SameApplicationActiveHackPredicate, const Client*,
// ignore already existing splashes, toolbars, utilities, menus and topmenus, // ignore already existing splashes, toolbars, utilities, menus and topmenus,
// as the app may show those before the main window // as the app may show those before the main window
!cl->isSplash() && !cl->isToolbar() && !cl->isTopMenu() && !cl->isUtility() && !cl->isMenu() !cl->isSplash() && !cl->isToolbar() && !cl->isTopMenu() && !cl->isUtility() && !cl->isMenu()
&& Client::belongToSameApplication( cl, value, true )); && Client::belongToSameApplication( cl, value, true ) && cl != value);
Time Client::readUserTimeMapTimestamp( const KStartupInfoData* asn_data, Time Client::readUserTimeMapTimestamp( const KStartupInfoData* asn_data,
const SessionInfo* session ) const const SessionInfo* session ) const