mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Patch from Robert de Bath: increase timer resolution.
[originally from svn r807]
This commit is contained in:
parent
7a3c5f57b5
commit
f7aec0aa10
2
window.c
2
window.c
@ -592,7 +592,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) {
|
||||
if (!has_focus)
|
||||
timer_id = SetTimer(hwnd, 1, 59500, NULL);
|
||||
else
|
||||
timer_id = SetTimer(hwnd, 1, 250, NULL);
|
||||
timer_id = SetTimer(hwnd, 1, 100, NULL);
|
||||
long_timer = 1;
|
||||
|
||||
/* There's no point rescanning everything in the message queue
|
||||
|
Loading…
Reference in New Issue
Block a user