X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_touch.pas;h=9eed28e26ae525151e0cc56e4cc665cad8b5a08f;hp=7cdc3282c1dd25057ed91b4ef4a251c4c3f6f7a9;hb=f4de88f1f4384cc3c798bccc695d92ad3781eb7b;hpb=bccf523c0320f1f8f33edb72caec0a67cfa2e422 diff --git a/src/game/g_touch.pas b/src/game/g_touch.pas index 7cdc328..9eed28e 100644 --- a/src/game/g_touch.pas +++ b/src/game/g_touch.pas @@ -184,6 +184,7 @@ implementation procedure g_Touch_Init; begin {$IFNDEF HEADLESS} + g_Touch_ShowKeyboard(FALSE); g_touch_enabled := SDL_GetNumTouchDevices() > 0 {$ENDIF} end; @@ -191,9 +192,6 @@ implementation procedure g_Touch_ShowKeyboard(yes: Boolean); begin {$IFNDEF HEADLESS} - if not g_touch_enabled then - Exit; - if yes then SDL_StartTextInput else