From 72b897b7a877352d98ea1c99d472326aebf7318e Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 5 Jan 2022 17:25:00 +0200 Subject: [PATCH 16/16] sdl2: Drop setting of obsolete SDL_VIDEO_CENTERED env variable See osdn #43551 Signed-off-by: Marko Lindqvist --- client/gui-sdl2/gui_main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/gui-sdl2/gui_main.c b/client/gui-sdl2/gui_main.c index 364489c000..a6e71793e7 100644 --- a/client/gui-sdl2/gui_main.c +++ b/client/gui-sdl2/gui_main.c @@ -848,9 +848,6 @@ void ui_init(void) SDL_Client_Flags = 0; iSDL_Flags = SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE; - /* auto center new windows in X enviroment */ - putenv((char *)"SDL_VIDEO_CENTERED=yes"); - init_sdl(iSDL_Flags); } -- 2.34.1