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

svn path=/trunk/kdebase/kwin/; revision=86636
This commit is contained in:
Matthias Ettrich 2001-03-12 18:03:17 +00:00
parent 84e023711c
commit 33c69f053c

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 );