зеркало из https://github.com/mozilla/gecko-dev.git
Bug 648902 - Limit the 'hide browser window when transitioning to full screen' functionality to normalized windows. (UX improvement) r=roc
This commit is contained in:
Родитель
ba04fffad9
Коммит
a796da20db
|
@ -2906,7 +2906,8 @@ nsWindow::MakeFullScreen(PRBool aFullScreen)
|
||||||
UpdateNonClientMargins();
|
UpdateNonClientMargins();
|
||||||
|
|
||||||
PRBool visible = mIsVisible;
|
PRBool visible = mIsVisible;
|
||||||
Show(PR_FALSE);
|
if (mOldSizeMode == nsSizeMode_Normal)
|
||||||
|
Show(PR_FALSE);
|
||||||
|
|
||||||
// Will call hide chrome, reposition window. Note this will
|
// Will call hide chrome, reposition window. Note this will
|
||||||
// also cache dimensions for restoration, so it should only
|
// also cache dimensions for restoration, so it should only
|
||||||
|
|
Загрузка…
Ссылка в новой задаче