Merged with latest official SDL sources.

This commit is contained in:
DavidLudwig
2012-11-12 13:25:44 -05:00
52 changed files with 6069 additions and 445 deletions

View File

@@ -291,7 +291,11 @@ main(int argc, char *argv[])
break;
case SDL_MOUSEBUTTONUP:
/* mouse up toggles onscreen keyboard visibility */
SDL_ToggleScreenKeyboard(window);
if (SDL_IsTextInputActive()) {
SDL_StopTextInput();
} else {
SDL_StartTextInput();
}
break;
}
}