Skip to content

Commit

Permalink
Stop text input at engine start so keybindings work correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
daid committed Jan 7, 2022
1 parent 8bc285d commit 1e1dd0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Engine::Engine()
#endif
SDL_Init(SDL_INIT_EVERYTHING);
SDL_ShowCursor(false);
SDL_StopTextInput();

atexit(SDL_Quit);

Expand Down

0 comments on commit 1e1dd0d

Please sign in to comment.