mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 13:20:58 +00:00
Added a _glfwInputKey call to a condtion case. Otherwise key callbacks were not being made on linux with x11.
This commit is contained in:
parent
f8395886d3
commit
d5d7365497
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user