be more conservative with not stealing focus, basically do not not steal
focus for transient windows. There have been issues with some konqueror dialogs on some machines, and this is the safest solution for now. svn path=/trunk/kdebase/kwin/; revision=140339
This commit is contained in:
parent
c981ba005c
commit
5af9e44aa6
1 changed files with 2 additions and 3 deletions
|
@ -848,9 +848,8 @@ bool Client::manage( bool isMapped, bool doNotShow, bool isInitial )
|
|||
// window does not stem from a restored session.
|
||||
Client* ac = workspace()->activeClient();
|
||||
|
||||
if ( !session && ac && !ac->isDesktop() &&
|
||||
ac->userTime() > userTime() &&
|
||||
( !isTransient() || mainClient() != ac ) ) {
|
||||
if ( !isTransient() && !session && ac && !ac->isDesktop() &&
|
||||
ac->userTime() > userTime() ) {
|
||||
workspace()->stackClientUnderActive( this );
|
||||
show();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue