From dff64496d6bfd4b0e71dd289da136f3cfe0a52f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Tue, 19 May 2020 17:47:58 +0200 Subject: [PATCH] X11: Remove duplicate XKB group initialization The XKB group is already set to zero during initialization. (cherry picked from commit cf3a03a85d4ea031f231ca72d66228757778cc8e) --- src/x11_init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/x11_init.c b/src/x11_init.c index ad083f87..bba68400 100644 --- a/src/x11_init.c +++ b/src/x11_init.c @@ -766,7 +766,6 @@ static GLFWbool initExtensions(void) _glfw.x11.xkb.detectable = GLFW_TRUE; } - _glfw.x11.xkb.group = 0; XkbStateRec state; if (XkbGetState(_glfw.x11.display, XkbUseCoreKbd, &state) == Success) _glfw.x11.xkb.group = (unsigned int)state.group;