some control over keepalives when not in the foreground.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1093
cda61777-01e9-0310-a592-
d414129be87e
/* Hmm, term_update didn't want to do an update too soon ... */
timer_id = SetTimer(hwnd, 1, 50, NULL);
else if (!has_focus)
/* 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;
else
timer_id = SetTimer(hwnd, 1, 100, NULL);
long_timer = 1;