mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
2509278a44
commit
19dbcf31bd
@ -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