From 939c7f9c6b42137fccb6ff16c628972b6e1270d4 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Sat, 10 May 2008 13:08:43 +0900 Subject: [PATCH] user32: Make sure that we send proper notifications in all cases. --- dlls/user32/mdi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/user32/mdi.c b/dlls/user32/mdi.c index 60297b069b3..0594b558655 100644 --- a/dlls/user32/mdi.c +++ b/dlls/user32/mdi.c @@ -570,7 +570,8 @@ static LRESULT MDIDestroyChild( HWND client, MDICLIENTINFO *ci, ci->hwndChildMaximized = 0; MDI_UpdateFrameText(frame, client, TRUE, NULL); } - if (flagDestroy) ci->hwndActiveChild = 0; + if (flagDestroy) + MDI_ChildActivate(client, 0); } } -- 2.11.4.GIT