termux-packages/x11-packages/glfw/src-x11_window.c.patch
2022-04-29 07:30:49 +09:00

12 lines
256 B
Diff

--- a/src/x11_window.c
+++ b/src/x11_window.c
@@ -2830,7 +2830,7 @@
{
drainEmptyEvents();
-#if defined(__linux__)
+#if defined(__linux__) && !defined(__ANDROID__)
_glfwDetectJoystickConnectionLinux();
#endif
XPending(_glfw.x11.display);