Jacek Caban : mshtml: Set focus to FALSE in InPlaceDeactivate.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 25 07:28:24 CDT 2007


Module: wine
Branch: master
Commit: dc2260468cc766c23005712e228a092133572b18
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=dc2260468cc766c23005712e228a092133572b18

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Jun 22 23:33:41 2007 +0200

mshtml: Set focus to FALSE in InPlaceDeactivate.

---

 dlls/mshtml/olewnd.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/mshtml/olewnd.c b/dlls/mshtml/olewnd.c
index 8fe6091..5ce3209 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;




More information about the wine-cvs mailing list