Patched to compile.
This commit is contained in:
1 parent
0cf81fbdf9
commit
0d8c3a0b76
1 file changed
+5
-3
@@ -306,9 +306,11 @@ X11_UpdateKeymap(_THIS)
|
||||
SDL_GetDefaultKeymap(keymap);
|
||||
|
||||
#if SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
|
||||
XkbStateRec state;
|
||||
if (X11_XkbGetState(data->display, XkbUseCoreKbd, &state == Success)) {
|
||||
group = state.group;
|
||||
{
|
||||
XkbStateRec state;
|
||||
if (X11_XkbGetState(data->display, XkbUseCoreKbd, &state) == Success) {
|
||||
group = state.group;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user