From 23b194eaa8e990cc6ba7bff8e58dd4bd9ee668c6 Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 6 May 2025 12:26:46 +0100 Subject: [PATCH] why is this still here?? --- 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 55cb87a67..cce9a4a27 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -1202,11 +1202,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: @@ -1394,10 +1389,6 @@ void I_GetEvent(void) } } -#ifdef _WIN32 -exitpoolevent: -#endif - // Send all relative mouse movement as one single mouse event. if (mousemovex || mousemovey) {