mshtml: Set focus to the Gecko window in OleInPlaceActiveObject_OnFrameWindowActivate.
This commit is contained in:
parent
bbb03cf16b
commit
fbdc76aaf7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue