mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 20:53:35 +00:00
mshtml: Update focus information in WM_RESETFOCUS_HACK.
This commit is contained in:
parent
cbe9f974d6
commit
8c686f9d00
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue