зеркало из https://github.com/mozilla/gecko-dev.git
Bug 310174 Windowless plug-ins can't receive the focus events r+sr=roc
This commit is contained in:
Родитель
e953b9d2cb
Коммит
e88f554d23
|
@ -3616,8 +3616,8 @@ nsEventStatus nsPluginInstanceOwner::ProcessEvent(const nsGUIEvent& anEvent)
|
|||
nsPluginEvent * pPluginEvent = (nsPluginEvent *)anEvent.nativeMsg;
|
||||
// we can get synthetic events from the nsEventStateManager... these
|
||||
// have no nativeMsg
|
||||
nsPluginEvent pluginEvent;
|
||||
if (!pPluginEvent) {
|
||||
nsPluginEvent pluginEvent;
|
||||
switch (anEvent.message) {
|
||||
case NS_FOCUS_CONTENT:
|
||||
pluginEvent.event = WM_SETFOCUS;
|
||||
|
|
Загрузка…
Ссылка в новой задаче