mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 04:54:35 +00:00
Wayland: Fix detection of joysticks after init
Closes #2198 This was adapted to 3.3-stable from0b94e1b29b
and3fa2360720
.
This commit is contained in:
parent
06a2ed38ea
commit
67d722788d
@ -128,6 +128,7 @@ information on what to include when reporting a bug.
|
||||
- [Wayland] Disabled alpha channel for opaque windows on systems lacking
|
||||
`EGL_EXT_present_opaque` (#1895)
|
||||
- [Wayland] Bugfix: Buffer would overrun when storing received drag offer (#2225)
|
||||
- [Wayland] Bugfix: Joysticks connected after `glfwInit` were not detected (#2198)
|
||||
- [Linux] Bugfix: Joysticks without buttons were ignored (#2042,#2043)
|
||||
[EGL] Added loading of glvnd `libOpenGL.so.0` where available for OpenGL
|
||||
- [GLX] Added loading of glvnd `libGLX.so.0` where available
|
||||
|
@ -1127,6 +1127,10 @@ static void inputText(_GLFWwindow* window, uint32_t scancode)
|
||||
|
||||
static void handleEvents(double* timeout)
|
||||
{
|
||||
#if defined(__linux__)
|
||||
_glfwDetectJoystickConnectionLinux();
|
||||
#endif
|
||||
|
||||
GLFWbool event = GLFW_FALSE;
|
||||
struct pollfd fds[4] =
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user