X11: Fix transplanting oversight

There was a oversight in transplanting shibukawa's fix:
* https://github.com/glfw/glfw/pull/658
* d36a164423

This made preedit callbacks not being called.
This commit is contained in:
Daijiro Fukuda 2022-04-22 11:51:21 +09:00
parent 20cc0fa21c
commit 3ad6cd187d

View File

@ -2052,7 +2052,7 @@ void _glfwCreateInputContextX11(_GLFWwindow* window)
window->x11.ic = XCreateIC(_glfw.x11.im, window->x11.ic = XCreateIC(_glfw.x11.im,
XNInputStyle, XNInputStyle,
XIMPreeditNothing | XIMStatusNothing, XIMPreeditCallbacks | XIMStatusCallbacks,
XNClientWindow, XNClientWindow,
window->x11.handle, window->x11.handle,
XNFocusWindow, XNFocusWindow,