Index: kmdimainfrm.cpp
===================================================================
RCS file: /home/kde/kdelibs/kmdi/kmdimainfrm.cpp,v
retrieving revision 1.89
diff -u -r1.89 kmdimainfrm.cpp
--- kmdimainfrm.cpp	6 Feb 2005 01:15:57 -0000	1.89
+++ kmdimainfrm.cpp	6 Mar 2005 19:52:29 -0000
@@ -1188,7 +1188,7 @@
 		if ( m_pMdi )
 		{
 			static bool focusTCIsPending = false;
-			if ( !focusTCIsPending )
+			if ( !focusTCIsPending && m_mdiMode == KMdi::ChildframeMode )
 			{
 				focusTCIsPending = true;
 				m_pMdi->focusTopChild();
