TR: X11 window creation at predetermined position

Dear list members,

although one can use XMoveWindow after using SDL_SetVideoMode I would like to
create the window at a given position. Any ideas?

Thanks,
Michael

Hi Michael,On Friday 24 October 2003 12:02, Michael Reimpell wrote:

although one can use XMoveWindow after using SDL_SetVideoMode I would like
to create the window at a given position. Any ideas?

On X11 (1.2.5) and MacOSX (1.2.6), you can use the following environment
variable:
SDL_VIDEO_WINDOW_POS=x,y

Minor nit-pick:
If the user moves the window and you have to re-open the SDL window, it will
be shown on the initial window coordinates.

Regards,
Johannes