mirror of
https://github.com/glfw/glfw.git
synced 2026-02-06 18:57:36 +00:00
Wayland: Cleanup
This is only a semantic change. The values are the same.
This commit is contained in:
parent
96e0f49395
commit
2d7ae8f2d0
@ -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,
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user