Bug 310174 Windowless plug-ins can't receive the focus events r+sr=roc

This commit is contained in:
masayuki%d-toybox.com 2005-10-16 18:58:34 +00:00
Родитель e953b9d2cb
Коммит e88f554d23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;