Skip to content
Snippets Groups Projects
Commit 1de412c0 authored by blizzard%redhat.com's avatar blizzard%redhat.com
Browse files

Bug #176518. Fix focus on inital startup. Not part of the default build.

parent 09b670b6
No related branches found
No related tags found
No related merge requests found
......@@ -1414,6 +1414,14 @@ nsWindow::OnContainerFocusInEvent(GtkWidget *aWidget, GdkEventFocus *aEvent)
// dispatch a got focus event
DispatchGotFocusEvent();
// send the activate event if it wasn't already sent via any
// SetFocus() calls that were the result of the GOTFOCUS event
// above.
if (gJustGotActivate) {
gJustGotActivate = PR_FALSE;
DispatchActivateEvent();
}
#ifdef USE_XIM
nsWindow * aTmpWindow;
aTmpWindow = this;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment