yet another minor focus fix ;-)

svn path=/trunk/kdebase/kwin/; revision=36075
master
Matthias Ettrich 25 years ago
parent 9764a4f487
commit 167fc3df88

@ -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…
Cancel
Save