mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 21:42:47 -05:00
Reduce out-of-focus timer interval to 2 seconds so we still have
some control over keepalives when not in the foreground. [originally from svn r1093]
This commit is contained in:
2
window.c
2
window.c
@ -606,7 +606,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) {
|
||||
/* Hmm, term_update didn't want to do an update too soon ... */
|
||||
timer_id = SetTimer(hwnd, 1, 50, NULL);
|
||||
else if (!has_focus)
|
||||
timer_id = SetTimer(hwnd, 1, 59500, NULL);
|
||||
timer_id = SetTimer(hwnd, 1, 2000, NULL);
|
||||
else
|
||||
timer_id = SetTimer(hwnd, 1, 100, NULL);
|
||||
long_timer = 1;
|
||||
|
Reference in New Issue
Block a user