Bug 305032. Fix various situation where focus is confused and commands get disabled/grayed out. Other bugs fixed are bug 306076, bug 306924 and bug 306235. r+sr=bryner, a=asa

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179748 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
aaronleventhal%moonset.net
2005-09-06 23:31:24 +00:00
parent 6f65bd191b
commit 4564f201a4
4 changed files with 17 additions and 14 deletions

View File

@@ -486,10 +486,6 @@ nsWebShellWindow::HandleEvent(nsGUIEvent *aEvent)
nsCOMPtr<nsIDOMWindowInternal> domWindow =
do_QueryInterface(piWin);
if (domWindow == focusedWindow) {
break; // Already focused
}
focusController->SetSuppressFocus(PR_TRUE, "Activation Suppression");
NS_ASSERTION(domWindow,