From 8307f671d469436c4607207b879f1bfd93a86c23 Mon Sep 17 00:00:00 2001 From: Oleg Date: Sat, 8 Feb 2025 14:07:54 +0300 Subject: [PATCH] engine: platform: sdl: let platform decide where to put our fullscreen window --- engine/platform/sdl/vid_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/platform/sdl/vid_sdl.c b/engine/platform/sdl/vid_sdl.c index e1f70e86..aad4483d 100644 --- a/engine/platform/sdl/vid_sdl.c +++ b/engine/platform/sdl/vid_sdl.c @@ -795,7 +795,7 @@ qboolean VID_CreateWindow( int width, int height, window_mode_t window_mode ) else SetBits( wndFlags, SDL_WINDOW_FULLSCREEN_DESKTOP ); SetBits( wndFlags, SDL_WINDOW_BORDERLESS ); - xpos = ypos = 0; + xpos = ypos = SDL_WINDOWPOS_UNDEFINED; } if( !VID_CreateWindowWithSafeGL( wndname, xpos, ypos, width, height, wndFlags ))