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:
parent
2553476f53
commit
0654c0d3b7
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,7 @@ KWIN_COMPARE_PREDICATE( SameApplicationActiveHackPredicate, const Client*,
|
|||
// ignore already existing splashes, toolbars, utilities, menus and topmenus,
|
||||
// as the app may show those before the main window
|
||||
!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,
|
||||
const SessionInfo* session ) const
|
||||
|
|
Loading…
Reference in a new issue