From 977856aefef76211d9900e8f95c6764c05cfeadb Mon Sep 17 00:00:00 2001 From: "sfraser%netscape.com" Date: Thu, 28 Sep 2000 00:31:35 +0000 Subject: [PATCH] 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 --- xpfe/appshell/src/nsWebShellWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpfe/appshell/src/nsWebShellWindow.cpp b/xpfe/appshell/src/nsWebShellWindow.cpp index dee1c0dcfda..04eccfbf43e 100644 --- a/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/xpfe/appshell/src/nsWebShellWindow.cpp @@ -570,7 +570,7 @@ nsWebShellWindow::HandleEvent(nsGUIEvent *aEvent) nsCOMPtr 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;