Adds a CreateWindow handler to Xbox video driver to:
Check that only one window is created.
Ensure the window dimensions match the framebuffer dimensions.
Set keyboard/mouse focus.
This fixes an issue where SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS is required to get updates from joysticks. This problem was caused by the window not explicitly getting keyboard focus. This patch correctly gives the (one and only) window explicit keyboard focus, so this hint is no longer required.
Adds a CreateWindow handler to Xbox video driver to:
This fixes an issue where
SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS
is required to get updates from joysticks. This problem was caused by the window not explicitly getting keyboard focus. This patch correctly gives the (one and only) window explicit keyboard focus, so this hint is no longer required.