From 44b97f68f3e14f65a21d9c13d6ee50a2112be9c8 Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Mon, 9 May 2011 08:24:04 -0600 Subject: dear uzbl, please listen to the user when they tell you what size to be. --- src/uzbl-core.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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); -- cgit v1.2.3