Changed UpdateView() to call Update() to synchronoulsy repaint the

dirty area if NS_VMREFRESH_IMMEDIATE is specified
This commit is contained in:
troy%netscape.com 1998-10-27 00:17:54 +00:00
parent d03010f3a8
commit 1c06413d95

View File

@ -537,6 +537,9 @@ NS_IMETHODIMP nsViewManager :: UpdateView(nsIView *aView, const nsRect &aRect, P
if (aUpdateFlags & NS_VMREFRESH_IMMEDIATE)
{
Composite();
// XXX Composite() should return the top-most view that's dirty so
// we don't have to always use the root window...
mRootWindow->Update();
}
// or if a sync paint is allowed and it's time for the compositor to
// do a refresh