mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-12 18:13:50 -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:
parent
0086b20625
commit
50f50a009b
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user