]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix window resizing in GTK 3 PuTTY.
authorSimon Tatham <anakin@pobox.com>
Fri, 25 Sep 2015 08:52:19 +0000 (09:52 +0100)
committerSimon Tatham <anakin@pobox.com>
Fri, 25 Sep 2015 08:52:19 +0000 (09:52 +0100)
commit06cf210552ec4429d6d6ef7d0c2b799cdc287298
tree53ae29e4ace590e2a8a7f59c0841f8129c63b165
parent64ec5e03d5362ed036e9de1a765085c571eaa3b7
Fix window resizing in GTK 3 PuTTY.

In GTK 3, it was impossible to resize the window smaller than it
started off, because the size request on the drawing area was taken as
a minimum. (I can't actually remember how the GTK 2 version doesn't
have this problem too.)

Fixed by instead setting the initial window size using
gtk_window_set_default_geometry() (having first set up the geometry
hints to reflect the character cell size).
unix/gtkwin.c