]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
GTK: split out the computation part from set_geom_hints.
authorSimon Tatham <anakin@pobox.com>
Mon, 4 Apr 2016 10:23:25 +0000 (11:23 +0100)
committerSimon Tatham <anakin@pobox.com>
Mon, 4 Apr 2016 10:23:25 +0000 (11:23 +0100)
commita7befbf40eb1aa48e87a79abda3d63841c0d8cde
treef9e421a5f67ce080dbdfa75f05404e3ca3cc8250
parent169a3d2457a1a70b0674772a335162b6600f0e94
GTK: split out the computation part from set_geom_hints.

This is preparation for dealing with the fact that GTK's geometry-
based API routines for setting the window size are being deprecated:
we'll no longer be able to specify a width/height in characters and
have GTK convert that into a pixel size based on the geometry hints
we'd already fed it. So we'll need to do that conversion ourselves,
and the easiest approach is to make it easy to recompute the geometry
hints on our side whenever we need them.
unix/gtkwin.c