mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 16:57:36 +00:00
Fix for the annoying viewer/apprunner problem that wouldnt let you make a
window small.
This commit is contained in:
parent
415d5a3728
commit
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user