mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-03-24 17:12:09 +00:00
Disable OSK to fix text box input issue
Our text boxes break if you open the console while editing one. Apparently this code is the culprit.
This commit is contained in:
parent
1aa80f22df
commit
3356a77745
1 changed files with 6 additions and 0 deletions
|
@ -1185,6 +1185,10 @@ void Sys_SendKeyEvents(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
// NZP Begin
|
||||
// Disable OSK, it breaks our input boxes if you open the console while editing one
|
||||
|
||||
#if 0
|
||||
#ifdef HAVE_SDL_TEXTINPUT
|
||||
{
|
||||
SDL_bool osk = Key_Dest_Has(kdm_console|kdm_cwindows|kdm_message);
|
||||
|
@ -1201,6 +1205,8 @@ void Sys_SendKeyEvents(void)
|
|||
INS_SetOSK(osk);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
// NZP end
|
||||
|
||||
while(SDL_PollEvent(&event))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue