Commit 8c686f9d authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Update focus information in WM_RESETFOCUS_HACK.

parent cbe9f974
......@@ -113,9 +113,14 @@ static LRESULT WINAPI nsembed_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
* Gecko grabs focus in edit mode and some apps don't like it.
* We should somehow prevent grabbing focus.
*/
TRACE("WM_RESETFOCUS_HACK\n");
if(This->reset_focus) {
SetFocus(This->reset_focus);
This->reset_focus = NULL;
if(This->doc)
This->doc->focus = FALSE;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment