reverting part of rev 1.54 that caused a regression. code=jrgm r=jag,me

git-svn-id: svn://10.0.0.236/trunk@122465 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
danm%netscape.com
2002-06-01 00:49:46 +00:00
parent ed427ced18
commit 0d4e89ab00

View File

@@ -753,7 +753,9 @@ nsWindowMediator::SetZPosition(
return NS_ERROR_INVALID_ARG;
else
inPosition = nsIWindowMediator::zLevelTop;
} else /* zLevelTop or zLevelBottom */
}
if (inPosition == nsIWindowMediator::zLevelTop ||
inPosition == nsIWindowMediator::zLevelBottom)
belowInfo = mTopmostWindow ? mTopmostWindow->mHigher : 0;
if (inInfo != belowInfo) {