When the active window gets a modal dialog, activate the modal. Happens
with kwalletmanager and the wallet open dialog. svn path=/trunk/kdebase/kwin/; revision=298549
This commit is contained in:
parent
854e9cc05a
commit
9a0f2b6e9b
1 changed files with 2 additions and 0 deletions
|
@ -618,6 +618,8 @@ void Client::addTransient( Client* cl )
|
|||
// assert( !cl->hasTransient( this, true )); will be fixed in checkGroupTransients()
|
||||
assert( cl != this );
|
||||
transients_list.append( cl );
|
||||
if( workspace()->mostRecentlyActivatedClient() == this && cl->isModal())
|
||||
workspace()->activateClient( findModal());
|
||||
// kdDebug() << "ADDTRANS:" << this << ":" << cl << endl;
|
||||
// kdDebug() << kdBacktrace() << endl;
|
||||
// for( ClientList::ConstIterator it = transients_list.begin();
|
||||
|
|
Loading…
Reference in a new issue