X11: Remove duplicate XKB group initialization

The XKB group is already set to zero during initialization.
master
Camilla Löwy ago%!(EXTRA string=5 years)
parent 0c403c8ca6
commit cf3a03a85d
  1. 1
      src/x11_init.c

@ -805,7 +805,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…
Cancel
Save