mirror of
https://github.com/yawut/SDL.git
synced 2026-08-11 03:25:32 -05:00
Merged with latest official SDL sources.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user