mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-17 14:47:19 +01:00
Patched to compile.
This commit is contained in:
parent
0cf81fbdf9
commit
0d8c3a0b76
@ -306,9 +306,11 @@ X11_UpdateKeymap(_THIS)
|
|||||||
SDL_GetDefaultKeymap(keymap);
|
SDL_GetDefaultKeymap(keymap);
|
||||||
|
|
||||||
#if SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
|
#if SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
|
||||||
XkbStateRec state;
|
{
|
||||||
if (X11_XkbGetState(data->display, XkbUseCoreKbd, &state == Success)) {
|
XkbStateRec state;
|
||||||
group = state.group;
|
if (X11_XkbGetState(data->display, XkbUseCoreKbd, &state) == Success) {
|
||||||
|
group = state.group;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user