Input Method working again in the sdl2.0 branch.
This commit is contained in:
parent
9cf77f684c
commit
e6cd8d7b30
1 changed files with 2 additions and 1 deletions
|
|
@ -2906,7 +2906,8 @@ static void mainloop(void)
|
|||
else if (event.type == SDL_TEXTINPUT ||
|
||||
(event.type == SDL_KEYDOWN &&
|
||||
(event.key.keysym.sym == SDLK_BACKSPACE ||
|
||||
event.key.keysym.sym == SDLK_RETURN || event.key.keysym.sym == SDLK_TAB)))
|
||||
event.key.keysym.sym == SDLK_RETURN || event.key.keysym.sym == SDLK_TAB ||
|
||||
event.key.keysym.sym == SDLK_LALT || event.key.keysym.sym == SDLK_RALT)))
|
||||
{
|
||||
/* Handle key in text tool: */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue