Mercurial > sdl-ios-xcode
comparison src/events/SDL_keyboard.c @ 4753:11b0a6a3eb4d
Changed Start/StopTextInput back to not take any parameters.
We call SDL_GetKeyboardFocus internally now.
author | dewyatt |
---|---|
date | Mon, 12 Jul 2010 14:17:43 -0400 |
parents | 22aa6a631d34 |
children | 2072fed2f583 |
comparison
equal
deleted
inserted
replaced
4752:dc7bdcf06367 | 4753:11b0a6a3eb4d |
---|---|
615 if (keyboard->focus) { | 615 if (keyboard->focus) { |
616 SDL_SendWindowEvent(keyboard->focus, SDL_WINDOWEVENT_FOCUS_GAINED, | 616 SDL_SendWindowEvent(keyboard->focus, SDL_WINDOWEVENT_FOCUS_GAINED, |
617 0, 0); | 617 0, 0); |
618 | 618 |
619 if (SDL_EventState(SDL_TEXTINPUT, SDL_QUERY)) { | 619 if (SDL_EventState(SDL_TEXTINPUT, SDL_QUERY)) { |
620 SDL_StartTextInput(window); | 620 SDL_StartTextInput(); |
621 } | 621 } |
622 } | 622 } |
623 } | 623 } |
624 | 624 |
625 int | 625 int |