termux-packages/x11-packages/glfw/src-x11_window.c.patch

12 lines
256 B
Diff
Raw Normal View History

2022-04-28 20:30:05 +02:00
--- 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);