small activation state fix (thanks to Simon Hausmann for the bugreport)

svn path=/trunk/kdebase/kwin/; revision=86636
icc-effect-5.14.5
Matthias Ettrich 2001-03-12 18:03:17 +00:00
parent 84e023711c
commit 33c69f053c
1 changed files with 1 additions and 0 deletions

View File

@ -1184,6 +1184,7 @@ void Workspace::clientHidden( Client* c )
active_client = 0;
should_get_focus = 0;
c->setActive( FALSE ); // clear the state in the client
if (!block_focus ) {
if ( c->wantsTabFocus() && focus_chain.contains( c ) ) {
focus_chain.remove( c );