mirror of
https://github.com/gwm17/glfw.git
synced 2025-02-06 22:28:51 -05:00
X11: Remove duplicate XKB group initialization
The XKB group is already set to zero during initialization.
(cherry picked from commit cf3a03a85d
)
This commit is contained in:
parent
117f7694b2
commit
dff64496d6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user