From d1c7e08496e563d8c2cdabc8d81afc64378496df Mon Sep 17 00:00:00 2001 From: Indev Date: Thu, 1 May 2025 13:02:26 +0300 Subject: [PATCH] Revert "Attempt to fix game freezing on windows when moving game window" This reverts commit 231ff3b502b890b8c6fd30aee531bf7d5a2d22b2. --- src/sdl/i_video.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 7504caa67..faf4c67f7 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -1189,11 +1189,6 @@ void I_GetEvent(void) { case SDL_WINDOWEVENT: Impl_HandleWindowEvent(evt.window); -#ifdef _WIN32 - // Hack: on windows, when moving game window, sdl gets stuck handling those events, which may cause timeouts in netgames - if (evt.window == SDL_WINDOWEVENT_MOVED || evt.window == SDL_WINDOWEVENT_RESIZED || evt.window == SDL_WINDOWEVENT_SIZE_CHANGED) - goto exitpoolevent; -#endif break; case SDL_KEYUP: case SDL_KEYDOWN: @@ -1381,10 +1376,6 @@ void I_GetEvent(void) } } -#ifdef _WIN32 -exitpoolevent: -#endif - // Send all relative mouse movement as one single mouse event. if (mousemovex || mousemovey) {