Bug 337859 Firefox windows open very small initially, then expand to
regular size r+sr=roc git-svn-id: svn://10.0.0.236/trunk@198305 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a8c12457b7
commit
13b18071e1
@ -715,7 +715,7 @@ nsWindow::SetFocus(PRBool aRaise)
|
||||
// Set focus to the window
|
||||
if (gRaiseWindows && aRaise && toplevelWidget &&
|
||||
!GTK_WIDGET_HAS_FOCUS(toplevelWidget) &&
|
||||
!mNeedsResize && GTK_IS_WINDOW(owningWindow->mShell))
|
||||
owningWindow->mIsShown && GTK_IS_WINDOW(owningWindow->mShell))
|
||||
gtk_window_present(GTK_WINDOW(owningWindow->mShell));
|
||||
|
||||
gtk_widget_grab_focus(owningWidget);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user