aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-05-09 08:24:04 -0600
committerGravatar Brendan Taylor <whateley@gmail.com>2011-05-09 08:24:04 -0600
commit44b97f68f3e14f65a21d9c13d6ee50a2112be9c8 (patch)
tree6ecc064ec5e6fc31046a1b2a2f28cce847ab1051 /src
parent71160c5b9c29006dc4675b30668c8f1cf16b9157 (diff)
dear uzbl, please listen to the user when they tell you what size to be.
Diffstat (limited to 'src')
-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);