Invalidate the screen position cache on scroll so popups come up in the right

places.  Bug 64902, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164855 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu 2004-11-03 15:51:59 +00:00
parent 52e1c648d9
commit 0574798230

View File

@ -2244,6 +2244,9 @@ NS_IMETHODIMP nsWindow::Scroll(PRInt32 aDx, PRInt32 aDy, nsRect *aClipRect)
childWidget->ResetInternalVisibility();
}
// Now invalidate the screen position cache, since things moved around.
InvalidateWindowPos();
return NS_OK;
}
//-------------------------------------------------------------------------