]> git.localhorst.tv Git - blank.git/blobdiff - src/app/init.cpp
fix default outline color
[blank.git] / src / app / init.cpp
index f4bcd01f45a230c4a1d928f967f60c0ff494ba19..a0ea7b51ba5d614a3df13814c4eee90468d6fe1d 100644 (file)
@@ -91,6 +91,8 @@ InitVideo::InitVideo() {
        if (SDL_InitSubSystem(SDL_INIT_VIDEO) != 0) {
                throw SDLError("SDL_InitSubSystem(SDL_INIT_VIDEO)");
        }
+       // SDL seems to start out in text input state
+       SDL_StopTextInput();
 }
 
 InitVideo::~InitVideo() {