Fix for my 0.9 focus issues. r=saari, sr=brendan

git-svn-id: svn://10.0.0.236/trunk@92626 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hyatt%netscape.com
2001-04-18 01:41:20 +00:00
parent 13f7f47252
commit 08d078d3c5
9 changed files with 57 additions and 33 deletions

View File

@@ -2982,7 +2982,7 @@ NS_IMETHODIMP nsDocShell::SetupNewViewer(nsIContentViewer* aNewViewer)
ourWindow->GetRootFocusController(getter_AddRefs(focusController));
if (focusController) {
// Suppress the command dispatcher.
focusController->SetSuppressFocus(PR_TRUE);
focusController->SetSuppressFocus(PR_TRUE, "Win32-Only Link Traversal Issue");
}
}
@@ -3002,7 +3002,7 @@ NS_IMETHODIMP nsDocShell::SetupNewViewer(nsIContentViewer* aNewViewer)
// See the book I wrote above regarding why the focus controller is
// being used here. -- hyatt
if (focusController)
focusController->SetSuppressFocus(PR_FALSE);
focusController->SetSuppressFocus(PR_FALSE, "Win32-Only Link Traversal Issue");
mContentViewer = aNewViewer;