Does a call to SDL_SetVideoMode have an effect on the existing event queue?
Here is the scenario;
- Open an SDL window.
- Start the event queue.
- Press and hold a key.
=> SDL_KEYDOWN event is received.
- Call SDL_SetVideoMode to resize the window.
=> SDL_KEYUP event is received.
- Release the key.
=> No event is received.
What is up with the SDL_KEYUP event being received following the call to
SDL_SetVideoMode? Is this a known issue/expected behaviour?