fix for 46938, make sure full content area plugins can still get key events once you've clicked on them
This commit is contained in:
@@ -416,6 +416,9 @@ PluginViewerImpl::SetDOMDocument(nsIDOMDocument *aDocument)
|
||||
static nsEventStatus PR_CALLBACK
|
||||
HandlePluginEvent(nsGUIEvent *aEvent)
|
||||
{
|
||||
if( (*aEvent).message == NS_PLUGIN_ACTIVATE) {
|
||||
(nsIWidget*)((*aEvent).widget)->SetFocus();
|
||||
}
|
||||
return nsEventStatus_eIgnore;
|
||||
}
|
||||
nsresult
|
||||
|
||||
Reference in New Issue
Block a user