diff options
Diffstat (limited to 'terminal.vala')
-rw-r--r-- | terminal.vala | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/terminal.vala b/terminal.vala index 6dfe61e..e44889e 100644 --- a/terminal.vala +++ b/terminal.vala @@ -140,9 +140,13 @@ class Terminal : Gtk.Overlay { base_height = base_height, min_width = char_width * 28 + base_width, min_height = char_height * 3 + base_height, - width_inc = char_width, - height_inc = char_height }; + + if (conf.resize_hints) { + geometry.width_inc = char_width; + geometry.height_inc = char_height; + } + window.set_geometry_hints(null, geometry, BASE_SIZE | RESIZE_INC | MIN_SIZE); vte.set_allow_hyperlink(conf.allow_hyperlinks); |