Module: wine Branch: master Commit: fbdc76aaf7a1ff6693a0837f7c294cc3de0cb26f URL: http://source.winehq.org/git/wine.git/?a=commit;h=fbdc76aaf7a1ff6693a0837f7c...
Author: Rob Shearman rob@codeweavers.com Date: Tue Jul 24 17:07:05 2007 -0500
mshtml: Set focus to the Gecko window in OleInPlaceActiveObject_OnFrameWindowActivate.
---
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 5ce3209..613f71d 100644 --- a/dlls/mshtml/olewnd.c +++ b/dlls/mshtml/olewnd.c @@ -101,6 +101,9 @@ static HRESULT WINAPI OleInPlaceActiveObject_OnFrameWindowActivate(IOleInPlaceAc if(This->hostui) IDocHostUIHandler_OnFrameWindowActivate(This->hostui, fActivate);
+ if(fActivate && This->nscontainer) + nsIWebBrowserFocus_Activate(This->nscontainer->focus); + return S_OK; }