зеркало из https://github.com/mozilla/gecko-dev.git
Bug 502713 - Minimized windows resize their content to (0,0) r=jmathies r=vladimir
This commit is contained in:
Родитель
02bda8a1b2
Коммит
5756566ee5
|
@ -4291,7 +4291,7 @@ PRBool nsWindow::ProcessMessage(UINT msg, WPARAM &wParam, LPARAM &lParam,
|
|||
// forget the scroll position of the page. Note that we need to check the
|
||||
// toplevel window, because child windows seem to go to 0x0 on minimize.
|
||||
HWND toplevelWnd = GetTopLevelHWND(mWnd);
|
||||
if (!newWidth && !newHeight && IsIconic(toplevelWnd)) {
|
||||
if (mWnd == toplevelWnd && IsIconic(toplevelWnd)) {
|
||||
result = PR_FALSE;
|
||||
break;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче