From 3ad6cd187db367a095bcbcebd200975b9c795fb1 Mon Sep 17 00:00:00 2001 From: Daijiro Fukuda Date: Fri, 22 Apr 2022 11:51:21 +0900 Subject: [PATCH] X11: Fix transplanting oversight There was a oversight in transplanting shibukawa's fix: * https://github.com/glfw/glfw/pull/658 * https://github.com/shibukawa/glfw-1/commit/d36a164423c933948661f3f17576e5a6388ff251 This made preedit callbacks not being called. --- src/x11_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x11_window.c b/src/x11_window.c index bf9a540b..a9ed7f98 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -2052,7 +2052,7 @@ void _glfwCreateInputContextX11(_GLFWwindow* window) window->x11.ic = XCreateIC(_glfw.x11.im, XNInputStyle, - XIMPreeditNothing | XIMStatusNothing, + XIMPreeditCallbacks | XIMStatusCallbacks, XNClientWindow, window->x11.handle, XNFocusWindow,