diff --git a/src/i_video.c b/src/i_video.c index e01791c2..a85df229 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -292,7 +292,7 @@ int grabmouse = 1; // Flag indicating whether the screen is currently visible: // when the screen isnt visible, don't render the screen boolean screenvisible; -static boolean window_focused; +static boolean window_focused = true; boolean fullscreen; // @@ -697,8 +697,6 @@ void I_GetEvent(void) { SDL_Event sdlevent; - SDL_PumpEvents(); - while (SDL_PollEvent(&sdlevent)) { switch (sdlevent.type)