From 480da372b25b9a432129859b9facacc6436a5a30 Mon Sep 17 00:00:00 2001 From: Brendan Shanks Date: Tue, 18 Oct 2022 11:01:34 -0700 Subject: [PATCH] xinput1_3: Set thread name for hid_update_thread_proc. --- dlls/xinput1_3/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/xinput1_3/main.c b/dlls/xinput1_3/main.c index 112fa5b436d..2abf33a8d45 100644 --- a/dlls/xinput1_3/main.c +++ b/dlls/xinput1_3/main.c @@ -707,6 +707,8 @@ static DWORD WINAPI hid_update_thread_proc(void *param) HWND hwnd; MSG msg; + SetThreadDescription(GetCurrentThread(), L"wine_xinput_hid_update"); + RegisterClassExW(&cls); hwnd = CreateWindowExW(0, cls.lpszClassName, NULL, 0, 0, 0, 0, 0, HWND_MESSAGE, NULL, NULL, NULL);