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:
sfraser%netscape.com 2000-09-28 00:31:35 +00:00
Родитель 7df747d21e
Коммит 977856aefe
1 изменённых файлов: 1 добавлений и 1 удалений

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

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