We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c06648 commit 2e9fbecCopy full SHA for 2e9fbec
app/main.cpp
@@ -730,6 +730,10 @@ int main(int argc, char *argv[])
730
// incorrect objects, so we don't need additional expensive parameter checks.
731
SDL_SetHint("SDL_INVALID_PARAM_CHECKS", "1");
732
733
+ // Disable hotplug detection for SDL_GetKeyboards() and SDL_GetMice(). We don't
734
+ // use this functionality and it can cause hangs when querying broken devices.
735
+ SDL_SetHint("SDL_WINDOWS_DETECT_DEVICE_HOTPLUG", "0");
736
+
737
QGuiApplication app(argc, argv);
738
739
#ifdef Q_OS_UNIX
0 commit comments