yet another minor focus fix ;-)
svn path=/trunk/kdebase/kwin/; revision=36075
This commit is contained in:
parent
9764a4f487
commit
167fc3df88
1 changed files with 3 additions and 1 deletions
|
@ -857,7 +857,9 @@ void Workspace::requestFocus( Client* c)
|
|||
if ( c->isVisible() && !c->isShade() ) {
|
||||
c->takeFocus();
|
||||
should_get_focus = c;
|
||||
setActiveClient( c );
|
||||
focus_chain.remove( c );
|
||||
if ( c->wantsTabFocus() )
|
||||
focus_chain.append( c );
|
||||
} else if ( c->isShade() ) {
|
||||
// client cannot accept focus, but at least the window should be active (window menu, et. al. )
|
||||
focusToNull();
|
||||
|
|
Loading…
Reference in a new issue