The SDL_VIDEO_WINDOW_POS is the best solution for that. But don't do it manually in the shell. Use the function
SDL_putenv
at the start of you application to set the SDL_VIDEO_WINDOW_POS environment variable. This way you don't have to do it manually in a shell script. It should work under windows as well.
Dean
Bookmarks