From 63fbbb6f8380e057159c0a26204ec367b0939c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 6 Jan 2003 13:16:03 +0000 Subject: [PATCH] Just in case. svn path=/trunk/kdebase/kwin/; revision=197782 --- workspace.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workspace.cpp b/workspace.cpp index de2075c325..828966f334 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -1686,7 +1686,8 @@ void Workspace::clientHidden( Client* c ) if( popup ) popup->close(); - setActiveClient( NULL ); + if( c == active_client ) + setActiveClient( NULL ); should_get_focus = 0; c->setActive( FALSE ); // clear the state in the client if (!block_focus ) {