mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 545239 - [OOPP] Plugin focus: hang at PPluginInstanceParent::CallSetPluginFocus against child _NtUserSetFocus. r=bsmedberg.
This commit is contained in:
parent
9573527c53
commit
8ea3d49ec0
@ -906,7 +906,7 @@ PluginInstanceParent::PluginWindowHookProc(HWND hWnd,
|
||||
// Widget may be calling us back from AnswerPluginGotFocus(), make
|
||||
// sure we don't end up sending this back over. If we're not in
|
||||
// SendMessage, this is coming from the dom / focus manager.
|
||||
if ((::InSendMessageEx(NULL) & ISMEX_SEND|ISMEX_REPLIED) != ISMEX_SEND)
|
||||
if ((::InSendMessageEx(NULL) & (ISMEX_SEND|ISMEX_REPLIED)) != ISMEX_SEND)
|
||||
self->CallSetPluginFocus();
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user