зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
f424cd58e3
Коммит
ca5959c4fe
|
@ -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");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче