aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/uzbl-core.c
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-01-16 12:23:58 -0700
committerGravatar Brendan Taylor <whateley@gmail.com>2011-01-16 12:23:58 -0700
commit63f77587bcc44c0edef74690d82555425d59d79a (patch)
tree7359ae871a2f0cb5e5691a9a25fe075d72e2b769 /src/uzbl-core.c
parent3c1697ff57a8fb4b01969da16d66ed37f0652d9b (diff)
explicitly set geometry min_height (fixes a bug in the last commit)
Diffstat (limited to 'src/uzbl-core.c')
-rw-r--r--src/uzbl-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c
index 147a9ae..877dbda 100644
--- a/src/uzbl-core.c
+++ b/src/uzbl-core.c
@@ -1946,7 +1946,8 @@ create_window () {
/* if the window has been made small, it shouldn't try to resize itself due
* to a long statusbar. */
GdkGeometry hints;
- 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);