[PATCH 4/5] mshtml: Set focus to the Gecko window in
OleInPlaceActiveObject_OnFrameWindowActivate.
Robert Shearman
rob at codeweavers.com
Tue Jul 24 17:07:05 CDT 2007
---
dlls/mshtml/olewnd.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
-------------- next part --------------
diff --git a/dlls/mshtml/olewnd.c b/dlls/mshtml/olewnd.c
index 5ce3209..613f71d 100644
--- a/dlls/mshtml/olewnd.c
+++ b/dlls/mshtml/olewnd.c
@@ -101,6 +101,9 @@ static HRESULT WINAPI OleInPlaceActiveOb
if(This->hostui)
IDocHostUIHandler_OnFrameWindowActivate(This->hostui, fActivate);
+ if(fActivate && This->nscontainer)
+ nsIWebBrowserFocus_Activate(This->nscontainer->focus);
+
return S_OK;
}
More information about the wine-patches
mailing list