зеркало из https://github.com/mozilla/pjs.git
Backout of patch in bug 575855 due to bug 594773.
This commit is contained in:
Родитель
987a498237
Коммит
a0b51585e3
|
@ -2737,18 +2737,11 @@ nsWindow::MakeFullScreen(PRBool aFullScreen)
|
|||
|
||||
UpdateNonClientMargins();
|
||||
|
||||
// Prevent window updates during the transition.
|
||||
DWORD style = GetWindowLong(mWnd, GWL_STYLE);
|
||||
SetWindowLong(mWnd, GWL_STYLE, style & ~WS_VISIBLE);
|
||||
|
||||
// Will call hide chrome, reposition window. Note this will
|
||||
// also cache dimensions for restoration, so it should only
|
||||
// be called once per fullscreen request.
|
||||
nsresult rv = nsBaseWidget::MakeFullScreen(aFullScreen);
|
||||
|
||||
style = GetWindowLong(mWnd, GWL_STYLE);
|
||||
SetWindowLong(mWnd, GWL_STYLE, style | WS_VISIBLE);
|
||||
|
||||
// Let the dom know via web shell window
|
||||
nsSizeModeEvent event(PR_TRUE, NS_SIZEMODE, this);
|
||||
event.mSizeMode = mSizeMode;
|
||||
|
|
Загрузка…
Ссылка в новой задаче