mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-16 17:21:10 +00:00
- add SDL hint to not minimize the window on focus loss
This commit is contained in:
parent
d853961a83
commit
0bf211b3e6
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ void I_InitGraphics ()
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
SDL_SetHint(SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES, "0");
|
SDL_SetHint(SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES, "0");
|
||||||
#endif // __APPLE__
|
#endif // __APPLE__
|
||||||
|
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");
|
||||||
|
|
||||||
if (SDL_InitSubSystem (SDL_INIT_VIDEO) < 0)
|
if (SDL_InitSubSystem (SDL_INIT_VIDEO) < 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue