mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
another stab in the dark at 26882. Fixes initial focus problems upon launch on linux.
This commit is contained in:
parent
87c3cc9be0
commit
dae94a56ae
@ -534,7 +534,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;
|
||||
|
Loading…
Reference in New Issue
Block a user