mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Landing fix for bug 328675. Working around a real player plugin bug where it recurses to death in certain circumstances. Patch by martijn.martijn@gmail.com, r+sr=jst@mozilla.org.
This commit is contained in:
parent
c025f17f59
commit
ccc0ee65c3
@ -317,6 +317,9 @@ static LRESULT CALLBACK PluginWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM
|
||||
|
||||
case WM_SETFOCUS:
|
||||
case WM_KILLFOCUS: {
|
||||
// RealPlayer can crash, don't process the message for those, see bug 328675
|
||||
if (win->mPluginType == nsPluginType_Real && msg == sLastMsg)
|
||||
return TRUE;
|
||||
// Make sure setfocus and killfocus get through
|
||||
// even if they are eaten by the plugin
|
||||
WNDPROC prevWndProc = win->GetPrevWindowProc();
|
||||
|
Loading…
Reference in New Issue
Block a user