Update glfw from upstream

This commit is contained in:
Kovid Goyal 2018-06-08 18:02:44 +05:30
parent 59ab22c0c8
commit 71c1432892
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

1
glfw/wl_window.c vendored
View File

@ -735,6 +735,7 @@ handleEvents(double timeout)
dispatchPendingKeyRepeats();
timeout = adjustTimeoutForKeyRepeat(timeout);
GLFWbool read_ok = GLFW_FALSE;
for (nfds_t i = 0; i < 2; i++) _glfw.wl.eventLoopData.fds[i].revents = 0;
if (timeout >= 0) {
const int result = pollWithTimeout(_glfw.wl.eventLoopData.fds, 2, timeout);