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
git-svn-id: svn://10.0.0.236/trunk@122261 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d828c50b5e
commit
8422c4dcf1
@ -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…
x
Reference in New Issue
Block a user