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:
sergei_d%fi.tartu.ee 2004-06-20 12:03:45 +00:00
Родитель a25ea4f2e0
Коммит 69bf2e131b
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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
{