diff options
Diffstat (limited to 'src/vteapp.c')
-rw-r--r-- | src/vteapp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vteapp.c b/src/vteapp.c index 34e1e0e..cb37337 100644 --- a/src/vteapp.c +++ b/src/vteapp.c @@ -55,8 +55,12 @@ char_size_changed(GtkWidget *widget, guint width, guint height, gpointer data) geometry.height_inc = terminal->char_height; geometry.base_width = xpad; geometry.base_height = ypad; + geometry.min_width = xpad + terminal->char_width; + geometry.min_height = ypad + terminal->char_height; gtk_window_set_geometry_hints(window, widget, &geometry, - GDK_HINT_RESIZE_INC | GDK_HINT_BASE_SIZE); + GDK_HINT_RESIZE_INC | + GDK_HINT_BASE_SIZE | + GDK_HINT_MIN_SIZE); } static void |