Fix glfwWaitEvents returning prematurely on X11

master
Camilla Berglund ago%!(EXTRA string=10 years)
parent cc752ad6a0
commit 9f5a483256
  1. 1
      README.md
  2. 2
      src/x11_window.c

@ -90,6 +90,7 @@ GLFW bundles a number of dependencies in the `deps/` directory.
- [X11] Bugfix: `GLFW_ARROW_CURSOR` selected the wrong cursor image
- [X11] Bugfix: The `GLFW_DECORATED` hint was not ignored for full screen
- [X11] Bugfix: `glfwWaitEvents` did not handle `EINTR` for `select`
- [X11] Bugfix: `glfwWaitEvents` could return when no events were available
- [WGL] Made all WGL functions dynamically loaded
- [WGL] Removed `GLFW_USE_DWM_SWAP_INTERVAL` compile-time option
- [WGL] Bugfix: Swap interval was ignored when DWM was enabled

@ -1758,7 +1758,7 @@ void _glfwPlatformPollEvents(void)
void _glfwPlatformWaitEvents(void)
{
if (!XPending(_glfw.x11.display))
while (!XPending(_glfw.x11.display))
selectDisplayConnection(NULL);
_glfwPlatformPollEvents();

Loading…
Cancel
Save