| Index: chrome/browser/gtk/browser_window_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/gtk/browser_window_gtk.cc (revision 30324)
|
| +++ chrome/browser/gtk/browser_window_gtk.cc (working copy)
|
| @@ -1536,10 +1536,12 @@
|
| }
|
|
|
| void BrowserWindowGtk::SetGeometryHints() {
|
| - // Allow the user to resize us arbitrarily small.
|
| + // Do not allow the user to resize us arbitrarily small. When using the
|
| + // custom frame, the window can disappear entirely while resizing, or get
|
| + // to a size that's very hard to resize.
|
| GdkGeometry geometry;
|
| - geometry.min_width = 1;
|
| - geometry.min_height = 1;
|
| + geometry.min_width = 100;
|
| + geometry.min_height = 100;
|
| gtk_window_set_geometry_hints(window_, NULL, &geometry, GDK_HINT_MIN_SIZE);
|
|
|
| // If we call gtk_window_maximize followed by gtk_window_present, compiz gets
|
|
|