aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/uzbl-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/uzbl-core.c')
-rw-r--r--src/uzbl-core.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c
index 046f596..8cfef55 100644
--- a/src/uzbl-core.c
+++ b/src/uzbl-core.c
@@ -1529,11 +1529,10 @@ create_window() {
gtk_window_set_has_resize_grip (GTK_WINDOW (window), FALSE);
#endif
- /* if the window has been made small, it shouldn't try to resize itself due
- * to a long statusbar. */
+ /* the window should never make itself bigger. */
GdkGeometry hints;
- hints.min_height = -1;
- hints.min_width = 1;
+ hints.min_height = 1;
+ hints.min_width = 1;
gtk_window_set_geometry_hints (GTK_WINDOW (window), window, &hints, GDK_HINT_MIN_SIZE);
g_signal_connect (G_OBJECT (window), "destroy", G_CALLBACK (destroy_cb), NULL);