src/events/SDL_keyboard_c.h
changeset 3685 64ce267332c6
parent 3280 00cace2d9080
child 3697 f7b03b6838cb
     1.1 --- a/src/events/SDL_keyboard_c.h	Thu Jan 21 05:49:41 2010 +0000
     1.2 +++ b/src/events/SDL_keyboard_c.h	Thu Jan 21 06:21:52 2010 +0000
     1.3 @@ -35,7 +35,7 @@
     1.4      void (*FreeKeyboard) (SDL_Keyboard * keyboard);
     1.5  
     1.6      /* Data common to all keyboards */
     1.7 -    SDL_WindowID focus;
     1.8 +    SDL_Window *focus;
     1.9      Uint16 modstate;
    1.10      Uint8 keystate[SDL_NUM_SCANCODES];
    1.11      SDLKey keymap[SDL_NUM_SCANCODES];
    1.12 @@ -73,7 +73,7 @@
    1.13  extern void SDL_SetScancodeName(SDL_scancode scancode, const char *name);
    1.14  
    1.15  /* Set the keyboard focus window */
    1.16 -extern void SDL_SetKeyboardFocus(int index, SDL_WindowID windowID);
    1.17 +extern void SDL_SetKeyboardFocus(int index, SDL_Window * window);
    1.18  
    1.19  /* Send a keyboard event for a keyboard at an index */
    1.20  extern int SDL_SendKeyboardKey(int index, Uint8 state, SDL_scancode scancode);