Bug 665315 - OOPP Contextmenu loses messages; r=jmathies
This commit is contained in:
@@ -2289,12 +2289,13 @@ PluginModuleChild::NestedInputEventHook(int nCode, WPARAM wParam, LPARAM lParam)
|
||||
PluginModuleChild* self = current();
|
||||
PRUint32 len = self->mIncallPumpingStack.Length();
|
||||
if (nCode >= 0 && len && !self->mIncallPumpingStack[len - 1]._spinning) {
|
||||
MessageLoop* loop = MessageLoop::current();
|
||||
self->SendProcessNativeEventsInRPCCall();
|
||||
IncallFrame& f = self->mIncallPumpingStack[len - 1];
|
||||
f._spinning = true;
|
||||
MessageLoop* loop = MessageLoop::current();
|
||||
f._savedNestableTasksAllowed = loop->NestableTasksAllowed();
|
||||
loop->SetNestableTasksAllowed(true);
|
||||
loop->set_os_modal_loop(true);
|
||||
}
|
||||
|
||||
return CallNextHookEx(NULL, nCode, wParam, lParam);
|
||||
|
||||
Reference in New Issue
Block a user