2023-10-30 16:54:56 -07:00
|
|
|
From ebe00ceb4f2d24f2611dbec87486d6597a3466a9 Mon Sep 17 00:00:00 2001
|
2014-05-02 11:50:58 -07:00
|
|
|
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
|
|
|
Date: Fri, 2 May 2014 20:46:19 +0200
|
2019-11-13 17:08:19 -08:00
|
|
|
Subject: [PATCH] user32: Decrease minimum SetTimer interval to 5 ms. (try 2)
|
2014-05-02 11:50:58 -07:00
|
|
|
|
|
|
|
---
|
2023-10-30 16:54:56 -07:00
|
|
|
dlls/win32u/message.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2014-05-02 11:50:58 -07:00
|
|
|
|
2022-03-16 15:36:39 -07:00
|
|
|
diff --git a/dlls/win32u/message.c b/dlls/win32u/message.c
|
2023-10-30 16:54:56 -07:00
|
|
|
index d2909339983..337d4a2cc1d 100644
|
2022-03-16 15:36:39 -07:00
|
|
|
--- a/dlls/win32u/message.c
|
|
|
|
+++ b/dlls/win32u/message.c
|
2023-10-30 16:54:56 -07:00
|
|
|
@@ -3975,7 +3975,7 @@ UINT_PTR WINAPI NtUserSetTimer( HWND hwnd, UINT_PTR id, UINT timeout, TIMERPROC
|
2022-03-16 15:36:39 -07:00
|
|
|
|
|
|
|
if (proc) winproc = alloc_winproc( (WNDPROC)proc, TRUE );
|
|
|
|
|
|
|
|
- timeout = min( max( USER_TIMER_MINIMUM, timeout ), USER_TIMER_MAXIMUM );
|
|
|
|
+ timeout = min( max( 5, timeout ), USER_TIMER_MAXIMUM );
|
|
|
|
|
|
|
|
SERVER_START_REQ( set_win_timer )
|
|
|
|
{
|
2014-05-02 11:50:58 -07:00
|
|
|
--
|
2023-10-30 16:54:56 -07:00
|
|
|
2.42.0
|
2014-05-02 11:50:58 -07:00
|
|
|
|