Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.66 KB | None | 0 0
  1. diff --git a/src/x11_window.c b/src/x11_window.c
  2. index daede3bc..7b6759c4 100644
  3. --- a/src/x11_window.c
  4. +++ b/src/x11_window.c
  5. @@ -1260,7 +1260,7 @@ static void processEvent(XEvent *event)
  6.                  //       These have the same timestamp as the original event
  7.                  //       Corresponding release events are filtered out
  8.                  //       implicitly by the GLFW key repeat logic
  9. -                if (window->x11.lastKeyTime < event->xkey.time)
  10. +                if (window->x11.lastKeyTime <= event->xkey.time)
  11.                  {
  12.                      if (keycode)
  13.                          _glfwInputKey(window, key, keycode, GLFW_PRESS, mods);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement