src/events/SDL_keyboard.c
changeset 1959 25d6537feea4
parent 1895 c121d94672cb
child 2129 047245361002
     1.1 --- a/src/events/SDL_keyboard.c	Sat Jul 29 23:00:15 2006 +0000
     1.2 +++ b/src/events/SDL_keyboard.c	Sun Jul 30 05:18:33 2006 +0000
     1.3 @@ -654,6 +654,7 @@
     1.4          event.key.keysym.mod = modstate;
     1.5          event.key.keysym.unicode = 0;
     1.6          event.key.windowID = keyboard->focus;
     1.7 +        /* FIXME: This doesn't make sense anymore... */
     1.8          /*
     1.9           * jk 991215 - Added
    1.10           */
    1.11 @@ -688,7 +689,7 @@
    1.12          event.text.type = SDL_TEXTINPUT;
    1.13          event.text.which = (Uint8) index;
    1.14          SDL_strlcpy(event.text.text, text, SDL_arraysize(event.text.text));
    1.15 -        event.key.windowID = keyboard->focus;
    1.16 +        event.text.windowID = keyboard->focus;
    1.17          posted = (SDL_PushEvent(&event) > 0);
    1.18      }
    1.19      return (posted);