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:
Luboš Luňák 2005-03-23 13:49:50 +00:00
parent ca22bd2f4e
commit a950f75673

View file

@ -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.