зеркало из https://github.com/mozilla/gecko-dev.git
Commented out the FOCUS event cases, it cleared up several crashes
It's unclear whether we need to notified of these events.
This commit is contained in:
Родитель
eb8e67908f
Коммит
7c9dc08302
|
@ -1509,13 +1509,15 @@ PRBool nsWindow::ProcessMessage(UINT msg, WPARAM wParam, LPARAM lParam, LRESULT
|
|||
result = PR_TRUE;
|
||||
break;
|
||||
|
||||
case WM_SETFOCUS:
|
||||
// Commenting these fixes several crashes,
|
||||
// but it is unclear whether we need these events or not
|
||||
/*case WM_SETFOCUS:
|
||||
result = DispatchFocus(NS_GOTFOCUS);
|
||||
break;
|
||||
|
||||
case WM_KILLFOCUS:
|
||||
result = DispatchFocus(NS_LOSTFOCUS);
|
||||
break;
|
||||
break;*/
|
||||
|
||||
case WM_WINDOWPOSCHANGED:
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче