Skip to content
Permalink
Browse files

Patched to compile.

  • Loading branch information
icculus committed Aug 15, 2015
1 parent 0cf81fb commit 0d8c3a0b76cef094968b1d7ad1443dc828edeca5
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/video/x11/SDL_x11keyboard.c
@@ -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

0 comments on commit 0d8c3a0

Please sign in to comment.