simon-git: putty (pre-0.75): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sat Apr 24 20:04:08 BST 2021
TL;DR:
f69cf86a Windows: reinstate redraws during interactive scrollbar drag.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: pre-0.75
Committer: Simon Tatham <anakin at pobox.com>
Date: 2021-04-24 20:04:08
commit f69cf86a61a8109e3d6f3fe2168087c9819d4b2e
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=f69cf86a61a8109e3d6f3fe2168087c9819d4b2e;hp=8c7685c65def40eb09367e8110c55ecc7f493249
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Apr 24 19:43:43 2021 +0100
Windows: reinstate redraws during interactive scrollbar drag.
I just discovered that they weren't happening, and the reason why is
thoroughly annoying. Details are in the long comment I've added to the
WM_VSCROLL handler in WndProc, but the short version is that when you
interactively drag the terminal window's scrollbar, a subsidiary
message loop is launched by DefWndProc, causing all our timer events
to go missing until the user lets go of the scrollbar again. So we
have to manually update the terminal window on scroll events, because
the normal system is out of action.
I assume this changed behaviour round about the big rework of terminal
updating in February. Good job I spotted it just _before_ 0.75, and
not just after!
windows/window.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
More information about the tartarus-commits
mailing list