Backing out. Doh! I have approval but I only wanted to check this into the trunk at first, for testing.
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@177854 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -483,15 +483,11 @@ nsWebShellWindow::HandleEvent(nsGUIEvent *aEvent)
|
||||
// on eventWindow. -bryner
|
||||
nsCOMPtr<nsIXULWindow> kungFuDeathGrip(eventWindow);
|
||||
|
||||
focusController->SetSuppressFocus(PR_TRUE, "Activation Suppression");
|
||||
|
||||
nsCOMPtr<nsIDOMWindowInternal> domWindow =
|
||||
do_QueryInterface(piWin);
|
||||
|
||||
if (domWindow == focusedWindow) {
|
||||
break; // Already focused
|
||||
}
|
||||
|
||||
focusController->SetSuppressFocus(PR_TRUE, "Activation Suppression");
|
||||
|
||||
NS_ASSERTION(domWindow,
|
||||
"windows must support nsIDOMWindowInternal");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user