mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 23:33:16 +01:00
X11: Fix joystick events causing busy waiting
On Linux, the inotify descriptor was included in the set used for select, but could not break the outer loop, leading to busy waiting until timeout or the correct X11 event arrived. This commit adds a new function for waiting just on X11 events. Fixes #1872
This commit is contained in:
committed by
Camilla Löwy
parent
92b5c67b50
commit
1e987cb92e
@@ -270,6 +270,7 @@ information on what to include when reporting a bug.
|
||||
- [X11] Bugfix: Dynamic loading on OpenBSD failed due to soname differences
|
||||
- [X11] Bugfix: Waiting for events would fail if file descriptor was too large
|
||||
(#2024)
|
||||
- [X11] Bugfix: Joystick events could lead to busy-waiting (#1872)
|
||||
- [Wayland] Added dynamic loading of all Wayland libraries
|
||||
- [Wayland] Added support for key names via xkbcommon
|
||||
- [Wayland] Removed support for `wl_shell` (#1443)
|
||||
|
||||
Reference in New Issue
Block a user