mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
26 lines
851 B
Diff
26 lines
851 B
Diff
From ebe00ceb4f2d24f2611dbec87486d6597a3466a9 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
|
Date: Fri, 2 May 2014 20:46:19 +0200
|
|
Subject: [PATCH] user32: Decrease minimum SetTimer interval to 5 ms. (try 2)
|
|
|
|
---
|
|
dlls/win32u/message.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/dlls/win32u/message.c b/dlls/win32u/message.c
|
|
index d2909339983..337d4a2cc1d 100644
|
|
--- a/dlls/win32u/message.c
|
|
+++ b/dlls/win32u/message.c
|
|
@@ -3975,7 +3975,7 @@ UINT_PTR WINAPI NtUserSetTimer( HWND hwnd, UINT_PTR id, UINT timeout, TIMERPROC
|
|
|
|
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 )
|
|
{
|
|
--
|
|
2.42.0
|
|
|