]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_sdl.c
now compiles on x86_64 successfully (still a crash regarding progs strings to fix...
[xonotic/darkplaces.git] / vid_sdl.c
index b3dcd0c28e3ca645ef417eba9c4ce2c28155a10d..86af512877cddc86df2a4152f562e2a45da80e25 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -281,10 +281,12 @@ void Sys_SendKeyEvents( void )
                                break;
                        case SDL_ACTIVEEVENT:
                                if( event.active.state == SDL_APPACTIVE ) 
+                               {
                                        if( event.active.gain )
                                                vid_hidden = false;
                                        else
                                                vid_hidden = true;
+                               }
                                break;
                        case SDL_MOUSEBUTTONDOWN:
                                if( event.button.button == SDL_BUTTON_MIDDLE )