From dc2260468cc766c23005712e228a092133572b18 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 22 Jun 2007 23:33:41 +0200 Subject: [PATCH] mshtml: Set focus to FALSE in InPlaceDeactivate. --- dlls/mshtml/olewnd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/mshtml/olewnd.c b/dlls/mshtml/olewnd.c index 8fe60918ddf..5ce3209f447 100644 --- a/dlls/mshtml/olewnd.c +++ b/dlls/mshtml/olewnd.c @@ -201,6 +201,9 @@ static HRESULT WINAPI OleInPlaceObjectWindowless_InPlaceDeactivate(IOleInPlaceOb SetWindowPos(This->hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE); } + This->focus = FALSE; + notif_focus(This); + This->in_place_active = FALSE; if(This->ipsite) { IOleInPlaceSiteEx *ipsiteex;