зеркало из https://github.com/mozilla/pjs.git
r=pedemont, sr=blizzard (platform specific code) OS/2 only = 800x600 reports the workarea size incorrectly, so explictly use the height of warpcenter
This commit is contained in:
Родитель
212dbaa899
Коммит
8f28b50eb9
|
@ -117,9 +117,9 @@ nsScreenOS2 :: GetAvailRect(PRInt32 *outLeft, PRInt32 *outTop, PRInt32 *outWidth
|
|||
WinQueryWindowPos( hwndWarpCenter, &swp );
|
||||
if (swp.y != 0) {
|
||||
/* WarpCenter is at the top */
|
||||
*outTop += (*outHeight - lWorkAreaHeight);
|
||||
*outTop += swp.cy;
|
||||
}
|
||||
*outHeight = lWorkAreaHeight;
|
||||
*outHeight -= swp.cy;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче