зеркало из https://github.com/mozilla/gecko-dev.git
bug 247702. r=thesuckiestemail@yahoo.se. Inform xp layer about resize directly for (yet) hidden windows. BeOS-only change, no sr required
This commit is contained in:
Родитель
a25ea4f2e0
Коммит
69bf2e131b
|
@ -1060,6 +1060,10 @@ NS_METHOD nsWindow::Resize(PRInt32 aWidth, PRInt32 aHeight, PRBool aRepaint)
|
|||
|
||||
if(mustunlock)
|
||||
mView->UnlockLooper();
|
||||
//No feedback from BView/BWindow in this case.
|
||||
//Informing xp layer directly
|
||||
if(!mIsVisible || !mView->Window()->IsActive())
|
||||
OnResize(mBounds);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче