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
git-svn-id: svn://10.0.0.236/branches/Netscape_20000922_BRANCH@80039 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user