зеркало из https://github.com/mozilla/gecko-dev.git
Fix for the annoying viewer/apprunner problem that wouldnt let you make a
window small.
This commit is contained in:
Родитель
415d5a3728
Коммит
b5287043f0
|
@ -775,7 +775,8 @@ NS_METHOD nsWindow::Resize(PRUint32 aWidth, PRUint32 aHeight, PRBool aRepaint)
|
|||
{
|
||||
mShell->allocation.width = aWidth;
|
||||
mShell->allocation.height = aHeight;
|
||||
gtk_widget_set_usize(mShell, aWidth, aHeight);
|
||||
|
||||
gtk_window_set_default_size(GTK_WINDOW(mShell), aWidth, aHeight);
|
||||
}
|
||||
|
||||
gtk_widget_set_usize(mWidget, aWidth, aHeight);
|
||||
|
|
Загрузка…
Ссылка в новой задаче