From 3f196c0abe4e6e630b1922fdb6d98eca919df189 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 8 Sep 2025 11:39:02 -0700 Subject: [PATCH] Added a name for the Windows raw input thread --- src/video/windows/SDL_windowsrawinput.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video/windows/SDL_windowsrawinput.c b/src/video/windows/SDL_windowsrawinput.c index 64c612cae9..5f32b373c5 100644 --- a/src/video/windows/SDL_windowsrawinput.c +++ b/src/video/windows/SDL_windowsrawinput.c @@ -30,6 +30,7 @@ #include "../../joystick/usb_ids.h" #include "../../events/SDL_events_c.h" +#include "../../thread/SDL_systhread.h" #define ENABLE_RAW_MOUSE_INPUT 0x01 #define ENABLE_RAW_KEYBOARD_INPUT 0x02 @@ -59,6 +60,8 @@ static DWORD WINAPI WIN_RawInputThread(LPVOID param) HWND window; UINT count = 0; + SDL_SYS_SetupThread("SDLRawInput"); + window = CreateWindowEx(0, TEXT("Message"), NULL, 0, 0, 0, 0, 0, HWND_MESSAGE, NULL, NULL, NULL); if (!window) { return 0;