зеркало из https://github.com/mozilla/gecko-dev.git
Fix viewer bug where pages would not load unless the mouse was wiggled...
This commit is contained in:
Родитель
78385ec9aa
Коммит
e8476a622a
|
@ -317,15 +317,20 @@ RunViewer(HANDLE instance, HANDLE prevInstance, LPSTR cmdParam, int nCmdShow, ns
|
|||
|
||||
// Process messages
|
||||
MSG msg;
|
||||
while (GetMessage(&msg, NULL, 0, 0)) {
|
||||
if (!JSConsole::sAccelTable ||
|
||||
BOOL bContinue = TRUE;
|
||||
|
||||
while (bContinue) {
|
||||
if (::PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) {
|
||||
if (!JSConsole::sAccelTable ||
|
||||
!gConsole ||
|
||||
!gConsole->GetMainWindow() ||
|
||||
!TranslateAccelerator(gConsole->GetMainWindow(), JSConsole::sAccelTable, &msg)) {
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
NET_PollSockets();
|
||||
}
|
||||
bContinue = (msg.message != WM_QUIT);
|
||||
}
|
||||
NET_PollSockets();
|
||||
}
|
||||
|
||||
aViewer->CleanupViewer(dl);
|
||||
|
|
Загрузка…
Ссылка в новой задаче