mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-01 18:50:16 +03:00
Enable SDL_HINT_FORCE_RAISEWINDOW by default.
This commit is contained in:
@@ -24,6 +24,7 @@ WindowBackendSDL2::WindowBackendSDL2() : WindowBackendLibrary() {
|
||||
#endif
|
||||
#if SDL_VERSION_ATLEAST( 2, 0, 22 )
|
||||
SDL_SetHint( SDL_HINT_IME_SUPPORT_EXTENDED_TEXT, "1" );
|
||||
SDL_SetHint( SDL_HINT_FORCE_RAISEWINDOW, "1" );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ WindowBackendSDL3::WindowBackendSDL3() : WindowBackendLibrary() {
|
||||
// The following hints are not available in SDL3 (or renamed)
|
||||
// SDL_SetHint( SDL_HINT_IME_SHOW_UI, "1" );
|
||||
// SDL_SetHint( SDL_HINT_IME_SUPPORT_EXTENDED_TEXT, "1" );
|
||||
SDL_SetHint( SDL_HINT_FORCE_RAISEWINDOW, "1" );
|
||||
}
|
||||
|
||||
WindowBackendSDL3::~WindowBackendSDL3() {
|
||||
|
||||
Reference in New Issue
Block a user