Oops, mainClients() returns a temporary (just like if its comment didn't
say so ...). Fixes #65297. svn path=/trunk/kdebase/kwin/; revision=255416
This commit is contained in:
parent
017a08e98b
commit
74536fc72c
1 changed files with 3 additions and 2 deletions
|
@ -318,8 +318,9 @@ bool Client::manage( Window w, bool isMapped )
|
|||
// window that is not Iconic, set init_state to Normal
|
||||
if( init_minimize && isTransient())
|
||||
{
|
||||
for( ClientList::ConstIterator it = mainClients().begin();
|
||||
it != mainClients().end();
|
||||
ClientList mainclients = mainClients();
|
||||
for( ClientList::ConstIterator it = mainclients.begin();
|
||||
it != mainclients.end();
|
||||
++it )
|
||||
if( (*it)->isShown())
|
||||
init_minimize = false; // SELI even e.g. for NET::Utility?
|
||||
|
|
Loading…
Reference in a new issue