simon-git: putty (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Wed Oct 16 08:05:09 BST 2024


TL;DR:
  bed0a8b5 Ensure the whole window is visible at startup

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2024-10-16 08:05:09

commit bed0a8b596f156f2eb86d8e8e92eac31cc08fbfa
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=bed0a8b596f156f2eb86d8e8e92eac31cc08fbfa;hp=9c4cadccc2dc6244bc6bcfd866a0b2af472631c0
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Oct 16 08:00:32 2024 +0100

    Ensure the whole window is visible at startup
    
    During startup, calculate the top/left position of the window so that
    the whole window is visible. Without this change, sometimes the window
    is clipped vertically and you can't see the bottom.
    
    Thanks to Bruno Kraychete da Costa for the original version of this
    patch; I've tweaked it slightly, but the basic strategy of adjusting
    the output of GetWindowRect against the monitor's working area is all
    his.

 windows/window.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 81 insertions(+), 11 deletions(-)



More information about the tartarus-commits mailing list