From b01ea3c7e1ce126714721c5e23b15ca716ec04c2 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 5 Jan 2022 17:16:06 +0200 Subject: [PATCH 35/35] 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 0b03a4afde..bac6410725 100644 --- a/client/gui-sdl2/gui_main.c +++ b/client/gui-sdl2/gui_main.c @@ -850,9 +850,6 @@ void ui_init(void) sdl2_client_flags = 0; sdl_flags = SDL_INIT_VIDEO | SDL_INIT_NOPARACHUTE; - /* auto center new windows in X enviroment */ - putenv((char *)"SDL_VIDEO_CENTERED=yes"); - init_sdl(sdl_flags); } -- 2.34.1