mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
Raise window after showing it
Potential fix for https://github.com/andrei-drexler/ironwail/issues/27: The focused window is not the game window on initial startup until the game window is clicked on with mouse. Confirmed that it doesn't happen with only one screen.
This commit is contained in:
parent
743c983060
commit
6642ad63b7
1 changed files with 1 additions and 0 deletions
|
@ -668,6 +668,7 @@ static qboolean VID_SetMode (int width, int height, int refreshrate, int bpp, qb
|
|||
}
|
||||
|
||||
SDL_ShowWindow (draw_context);
|
||||
SDL_RaiseWindow (draw_context);
|
||||
|
||||
/* Create GL context if needed */
|
||||
if (!gl_context) {
|
||||
|
|
Loading…
Reference in a new issue