bug 306235. Keyboard stops working on window restore of Thunderbird main window from minimized state. Partial backout of now unnecessary part of bug 258285. r+sr=bryner

This commit is contained in:
aaronleventhal%moonset.net 2005-08-31 20:43:39 +00:00
Родитель f424cd58e3
Коммит ca5959c4fe
1 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -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");