From 0d4e89ab0072046f41a5d2d1fd8f7b8edbabdd24 Mon Sep 17 00:00:00 2001 From: "danm%netscape.com" Date: Sat, 1 Jun 2002 00:49:46 +0000 Subject: [PATCH] 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 --- mozilla/xpfe/appshell/src/nsWindowMediator.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mozilla/xpfe/appshell/src/nsWindowMediator.cpp b/mozilla/xpfe/appshell/src/nsWindowMediator.cpp index 51b1555a708..a25aea300cb 100644 --- a/mozilla/xpfe/appshell/src/nsWindowMediator.cpp +++ b/mozilla/xpfe/appshell/src/nsWindowMediator.cpp @@ -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) {