From 2d7ae8f2d0a93efb8db3a82170b18266540e333f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Thu, 15 Jan 2026 21:09:01 +0100 Subject: [PATCH] Wayland: Cleanup This is only a semantic change. The values are the same. --- src/wl_init.c | 2 +- src/wl_window.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);