mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-07-01 14:15:16 +02:00
prevent launching with text input already enabled
This commit is contained in:
parent
56ef0ed900
commit
2fb6510fd5
2 changed files with 5 additions and 2 deletions
|
@ -72,7 +72,7 @@ After having all the prerequisites, go to the `windows` or `linux` directory and
|
|||
|
||||
By default, mkxp switches into the directory where its binary is contained and then starts reading the configuration and resolving relative paths. In case this is undesired (eg. when the binary is to be installed to a system global, read-only location), it can be turned off by adding `-Dworkdir_current=true` to meson's build arguments.
|
||||
|
||||
**MRI-Binding**: Meson will use pkg-config to look for `ruby-X.Y.pc`, where `X` is the major version number and `Y` is the minor version number (e.g. `ruby-3.0.pc`). The version that will be searched for can be set with `-Dmri_version=X.Y`. `mri-version` is set to `3.0` by default.
|
||||
**MRI-Binding**: Meson will use pkg-config to look for `ruby-X.Y.pc`, where `X` is the major version number and `Y` is the minor version number (e.g. `ruby-3.1.pc`). The version that will be searched for can be set with `-Dmri_version=X.Y`. `mri-version` is set to `3.1` by default.
|
||||
|
||||
## Midi music
|
||||
|
||||
|
@ -97,7 +97,6 @@ In the RMXP version of RGSS, fonts are loaded directly from system specific sear
|
|||
If a requested font is not found, no error is generated. Instead, a built-in font is used. By default, this font is Liberation Sans. WenQuanYi MicroHei is used as the built-in font if the `cjk_fallback_font` option is used.
|
||||
|
||||
## What doesn't work (yet)
|
||||
* Movie playback
|
||||
* wma audio files
|
||||
* Creating Bitmaps with sizes greater than your hardware's texture size limit (around 16384 on modern cards).^
|
||||
|
||||
|
|
|
@ -180,6 +180,10 @@ void EventThread::process(RGSSThreadData &rtData)
|
|||
|
||||
SDL_GetWindowSize(win, &winW, &winH);
|
||||
|
||||
// Just in case it's started when the window is opened
|
||||
// for some dumb reason
|
||||
SDL_StopTextInput();
|
||||
|
||||
textInputBuffer.clear();
|
||||
#ifndef MKXPZ_BUILD_XCODE
|
||||
SettingsMenu *sMenu = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue