diff --git a/src/x11_init.c b/src/x11_init.c index 033a0698..8007dc07 100644 --- a/src/x11_init.c +++ b/src/x11_init.c @@ -738,7 +738,7 @@ int _glfwPlatformInit(void) { XSetLocaleModifiers(""); - _glfw.x11.im = XOpenIM(_glfw.x11.display, 0, 0, 0); + _glfw.x11.im = XOpenIM(_glfw.x11.display, 0, NULL, NULL); if (_glfw.x11.im) { if (!hasUsableInputMethodStyle())