From d5d7365497dcf832ee322e2f99e9fe41e4a2f1c2 Mon Sep 17 00:00:00 2001 From: msmith Date: Fri, 7 Aug 2015 13:24:38 +0100 Subject: [PATCH] Added a _glfwInputKey call to a condtion case. Otherwise key callbacks were not being made on linux with x11. --- src/x11_window.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/x11_window.c b/src/x11_window.c index 95391d931..24ada2849 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -885,6 +885,10 @@ static void processEvent(XEvent *event) } else { + _glfwInputKey(window, + key, event->xkey.keycode, + GLFW_PRESS, mods); + const int count = XwcLookupString(window->x11.ic, &event->xkey, buffer, sizeof(buffer),