Fix for 52150; show caret in new composer/mail composer/AIM windows. Uncomment a line that supresses focus, because we can get window activation calls after editor sets up the caret, and these need to be suppressed. r, sr = saari, hyatt
This commit is contained in:
Родитель
7df747d21e
Коммит
977856aefe
|
@ -570,7 +570,7 @@ nsWebShellWindow::HandleEvent(nsGUIEvent *aEvent)
|
|||
nsCOMPtr<nsIDOMWindowInternal> focusedWindow;
|
||||
commandDispatcher->GetFocusedWindow(getter_AddRefs(focusedWindow));
|
||||
if (focusedWindow) {
|
||||
//commandDispatcher->SetSuppressFocus(PR_TRUE);
|
||||
commandDispatcher->SetSuppressFocus(PR_TRUE);
|
||||
domWindow->Focus(); // This sets focus, but we'll ignore it.
|
||||
// A subsequent activate will cause us to stop suppressing.
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче