diff options
Diffstat (limited to 'src/sdl')
-rw-r--r-- | src/sdl/sdl_input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c index 39653bd4..a369799a 100644 --- a/src/sdl/sdl_input.c +++ b/src/sdl/sdl_input.c @@ -884,6 +884,7 @@ static void IN_ProcessEvents( void ) break; case SDL_WINDOWEVENT_MINIMIZED: Cvar_SetValue( "com_minimized", 1 ); break; + case SDL_WINDOWEVENT_RESTORED: case SDL_WINDOWEVENT_MAXIMIZED: Cvar_SetValue( "com_minimized", 0 ); break; case SDL_WINDOWEVENT_FOCUS_LOST: Cvar_SetValue( "com_unfocused", 1 ); break; case SDL_WINDOWEVENT_FOCUS_GAINED: Cvar_SetValue( "com_unfocused", 0 ); break; |