From be8ef94f180c698fcb843fd50f431fe27a4de270 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 26 Oct 2018 14:43:39 -0400 Subject: [PATCH] hidapi: Don't run a separate event loop for device notifications. Fixes Bugzilla #4286. --- src/joystick/hidapi/SDL_hidapijoystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/hidapi/SDL_hidapijoystick.c b/src/joystick/hidapi/SDL_hidapijoystick.c index 2b33cd762..e89c4f6a9 100644 --- a/src/joystick/hidapi/SDL_hidapijoystick.c +++ b/src/joystick/hidapi/SDL_hidapijoystick.c @@ -307,7 +307,7 @@ HIDAPI_UpdateDiscovery() return; } -#if defined(__WIN32__) +#if 0 /* just let the usual SDL_PumpEvents loop dispatch these. --ryan. defined(__WIN32__)*/ /* We'll only get messages on the same thread that created the window */ if (SDL_ThreadID() == SDL_HIDAPI_discovery.m_nThreadID) { MSG msg;