Bug: SDL_SetUNICODE status gets resetted after calling SDL_InitSubSystem

Hi,

the topic already explain it. My app calls SDL functions like this:

SDL_Init(SDL_INIT_TIMER);
SDL_EnableUNICODE(1);
// …
SDL_InitSubSystem(SDL_INIT_VIDEO);

// here comes the event loop

In the event loop the unicode translation isn’t done anymore, so it seems
the call to InitSubSystem incorrectly resets it. (when I add a
SDL_EnableUNICODE(1) after the InitSubSystem as a workaround then it works
nicely).

Greetings,
Matze

Matze Braun wrote:

Hi,

Hi,

the topic already explain it. My app calls SDL functions like this:

SDL_Init(SDL_INIT_TIMER);
SDL_EnableUNICODE(1);
// …
SDL_InitSubSystem(SDL_INIT_VIDEO);

// here comes the event loop

In the event loop the unicode translation isn’t done anymore, so it seems
the call to InitSubSystem incorrectly resets it. (when I add a
SDL_EnableUNICODE(1) after the InitSubSystem as a workaround then it works
nicely).

I don’t think this is really a bug, as SDL initalizes the video and
keyboard at the same time, during SDL_InitSubSystem(SDL_INIT_VIDEO)

Stephane