mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-26 02:02:33 +00:00
Bug 337859 Firefox windows open very small initially, then expand to
regular size r+sr=roc
This commit is contained in:
parent
28fdef2190
commit
9079fd02cd
@ -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…
Reference in New Issue
Block a user