fixed window positioning for windows

This commit is contained in:
Alfred Eriksson 2008-11-16 16:09:00 +00:00
parent 00794899d6
commit 51314e4576

View file

@ -224,6 +224,10 @@ int gfx_init()
if(!no_gfx)
{
#ifdef CONF_FAMILY_WINDOWS
if(!getenv("SDL_VIDEO_WINDOW_POS") && !getenv("SDL_VIDEO_CENTERED"))
putenv("SDL_VIDEO_WINDOW_POS=8,27");
#endif
do
{
if(try_init() == 0)