Added a _glfwInputKey call to a condtion case. Otherwise key callbacks were not being made on linux with x11.

This commit is contained in:
msmith 2015-08-07 13:24:38 +01:00
parent f8395886d3
commit d5d7365497

View File

@ -885,6 +885,10 @@ static void processEvent(XEvent *event)
} }
else else
{ {
_glfwInputKey(window,
key, event->xkey.keycode,
GLFW_PRESS, mods);
const int count = XwcLookupString(window->x11.ic, const int count = XwcLookupString(window->x11.ic,
&event->xkey, &event->xkey,
buffer, sizeof(buffer), buffer, sizeof(buffer),