diff options
| author | Alfred Eriksson <somerunce@gmail.com> | 2008-11-16 16:09:00 +0000 |
|---|---|---|
| committer | Alfred Eriksson <somerunce@gmail.com> | 2008-11-16 16:09:00 +0000 |
| commit | 51314e4576cf61c0ba346a18e4782ff0246ac65c (patch) | |
| tree | 9cd04bc294a253a1ba048e1bbede07dfafe50378 /src/engine/client | |
| parent | 00794899d6b00243b562dad75c717cf210230c11 (diff) | |
| download | zcatch-51314e4576cf61c0ba346a18e4782ff0246ac65c.tar.gz zcatch-51314e4576cf61c0ba346a18e4782ff0246ac65c.zip | |
fixed window positioning for windows
Diffstat (limited to 'src/engine/client')
| -rw-r--r-- | src/engine/client/ec_gfx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/client/ec_gfx.c b/src/engine/client/ec_gfx.c index dbd4daf7..24848deb 100644 --- a/src/engine/client/ec_gfx.c +++ b/src/engine/client/ec_gfx.c @@ -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) |