When activation is forced, always request focus for the window, even
with unreasonable focus policies. Fixes focusing kicker applets. BUG: 96028 svn path=/trunk/kdebase/kwin/; revision=399988
This commit is contained in:
parent
ca22bd2f4e
commit
a950f75673
1 changed files with 2 additions and 1 deletions
|
@ -275,7 +275,8 @@ void Workspace::activateClient( Client* c, bool force )
|
|||
if( c->isMinimized())
|
||||
c->unminimize();
|
||||
|
||||
if( options->focusPolicyIsReasonable())
|
||||
// TODO force should perhaps allow this only if the window already contains the mouse
|
||||
if( options->focusPolicyIsReasonable() || force )
|
||||
requestFocus( c, force );
|
||||
|
||||
// Don't update user time for clients that have focus stealing workaround.
|
||||
|
|
Loading…
Reference in a new issue