mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-12 00:28:06 -05:00

If you maximise the terminal window and then press Ctrl-> or Ctrl-< to change the font size, then the maximised window can't change size, so what _should_ happen instead is that the terminal adjusts the number of character cells to whatever the new font size will now permit in the same size of window as before. But in fact, the terminal size wasn't changing at all, because the call to gtkwin_request_resize (called from change_font_size) detected the maximised window and went straight to gtkwin_deny_term_resize, which immediately called term_size() to tell the terminal it still had the same size as before. This commit switches gtkwin_deny_term_resize so that instead it calls drawing_area_setup_simple(), which re-runs drawing_area_setup with the same size the drawing area already had. This should work out the same in the case where we're _not_ changing the font size, but now also does the right thing when we are.
This is the README for PuTTY, a free Windows and Unix Telnet and SSH client. PuTTY is built using CMake <https://cmake.org/>. To compile in the simplest way (on any of Linux, Windows or Mac), run these commands in the source directory: cmake . cmake --build . Documentation (in various formats including Windows Help and Unix `man' pages) is built from the Halibut (`.but') files in the `doc' subdirectory using `doc/Makefile'. If you aren't using one of our source snapshots, you'll need to do this yourself. Halibut can be found at <https://www.chiark.greenend.org.uk/~sgtatham/halibut/>. The PuTTY home web site is https://www.chiark.greenend.org.uk/~sgtatham/putty/ If you want to send bug reports or feature requests, please read the Feedback section of the web site before doing so. Sending one-line reports saying `it doesn't work' will waste your time as much as ours. See the file LICENCE for the licence conditions.
Description
Languages
C
89.7%
Python
8%
Perl
0.9%
CMake
0.8%
Shell
0.4%
Other
0.1%