diff --git a/src/wl_init.c b/src/wl_init.c index d32c4adf..1d0d3ef8 100644 --- a/src/wl_init.c +++ b/src/wl_init.c @@ -834,7 +834,7 @@ int _glfwInitWayland(void) createKeyTables(); - _glfw.wl.xkb.context = xkb_context_new(0); + _glfw.wl.xkb.context = xkb_context_new(XKB_CONTEXT_NO_FLAGS); if (!_glfw.wl.xkb.context) { _glfwInputError(GLFW_PLATFORM_ERROR, diff --git a/src/wl_window.c b/src/wl_window.c index ad39b2e0..7c0d3e19 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -1701,7 +1701,7 @@ static void keyboardHandleKeymap(void* userData, keymap = xkb_keymap_new_from_string(_glfw.wl.xkb.context, mapStr, XKB_KEYMAP_FORMAT_TEXT_V1, - 0); + XKB_KEYMAP_COMPILE_NO_FLAGS); munmap(mapStr, size); close(fd);