From 1d0764e5a4a1926a0269d59de2550020b9671b82 Mon Sep 17 00:00:00 2001
From: Anatoly Lyutin <vostok@etersoft.ru>
Date: Mon, 18 Aug 2008 16:43:58 +0400
Subject: [PATCH] Little force switching (eterbug # 495)

---
 dlls/user32/mdi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c
index 4cb9573..da6846d 100644
--- a/dlls/user32/mdi.c
+++ b/dlls/user32/mdi.c
@@ -552,7 +552,7 @@ static void MDI_SwitchActiveChild( MDICLIENTINFO *ci, HWND hwndTo, BOOL activate
                 HWND    client = GetParent(hwndTo);
 
                 SetWindowLongW( hwndPrev, GWL_STYLE, GetWindowLongW( hwndPrev, GWL_STYLE )&~WS_MAXIMIZE );
-                SetWindowPos( hwndPrev, 0, rect.left, rect.top, rect.right-rect.left, rect.bottom - rect.top, SWP_NOACTIVATE|SWP_NOZORDER );
+                SetWindowPos( hwndPrev, 0, rect.left, rect.top, rect.right-rect.left, rect.bottom - rect.top, SWP_NOACTIVATE|SWP_NOZORDER|SWP_SHOWWINDOW|SWP_FRAMECHANGED );
 
                 MDI_UpdateFrameText( GetParent(client), client, TRUE, NULL );
             }
-- 
1.5.4.5.GIT
