From dc38085a11b6c7e6060a9918f8bfd0c2b4ba29ec Mon Sep 17 00:00:00 2001 From: "danm%netscape.com" Date: Thu, 6 Jan 2000 16:02:10 +0000 Subject: [PATCH] use widget::GetScreenBounds to return window position. bug 5998. r:pierre. --- xpfe/appshell/src/nsWebShellWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpfe/appshell/src/nsWebShellWindow.cpp b/xpfe/appshell/src/nsWebShellWindow.cpp index e3ae618e7d1..ed914ace8a2 100644 --- a/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/xpfe/appshell/src/nsWebShellWindow.cpp @@ -2719,7 +2719,7 @@ NS_IMETHODIMP nsWebShellWindow::GetContentBounds(nsRect& aResult) NS_IMETHODIMP nsWebShellWindow::GetWindowBounds(nsRect& aResult) { - mWindow->GetBounds(aResult); + mWindow->GetScreenBounds(aResult); return NS_OK; }