mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
fix problem where resizing window would cause jiggling. the workaround we put in for os9 seems to no longer be needed and gives osx fits. patch from lws@mac.com. r=pink/rs=blake. bug#86740
This commit is contained in:
parent
6a348190c4
commit
8767b764ad
@ -1412,7 +1412,7 @@ PRBool nsMacEventHandler::ResizeEvent ( WindowRef inWindow )
|
||||
::GetWindowPortBounds ( inWindow, &macRect );
|
||||
::LocalToGlobal(&topLeft(macRect));
|
||||
::LocalToGlobal(&botRight(macRect));
|
||||
mTopLevelWidget->Resize(macRect.right - macRect.left + 1, macRect.bottom - macRect.top + 1, PR_FALSE);
|
||||
mTopLevelWidget->Resize(macRect.right - macRect.left, macRect.bottom - macRect.top, PR_FALSE);
|
||||
if (nsnull != gRollupListener && (nsnull != gRollupWidget) )
|
||||
gRollupListener->Rollup();
|
||||
mTopLevelWidget->UserStateForResize(); // size a zoomed window and it's no longer zoomed
|
||||
|
Loading…
Reference in New Issue
Block a user