X root window -- more

I’m trying to follow the thread from eariler (DEC 99)
but It’s just making more questions like

do I call XOpenDisplay to init the display structure?

do I NOT call SDL_SetVideoMode after that?

when exporting SDL_windowhack via 'putenv(SDL_windowhack);'
what does that exactly do?
does SDL_Init() look for all environ variables that begin with the 'SDL’
prefix? if so what does it do with them when if finds them?

a small example program would be nice (one w/ only SDL and Xlib if possible,
as I don’t want to use GTK+)
or perhapse just the code to init and draw to the correct window–
"They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety. "
–Benjamin Franklin

OOps it was this thread:

Fri, 08 Oct 1999 21:35:12 -0700
http://www.libsdl.org/pipermail/sdl/1999-October/022016.htmlOn Sunday 13 April 2003 8:23 pm, Samuel wrote:

I’m trying to follow the thread from eariler (DEC 99)
but It’s just making more questions like

do I call XOpenDisplay to init the display structure?

do I NOT call SDL_SetVideoMode after that?

when exporting SDL_windowhack via 'putenv(SDL_windowhack);'
what does that exactly do?
does SDL_Init() look for all environ variables that begin with the 'SDL’
prefix? if so what does it do with them when if finds them?

a small example program would be nice (one w/ only SDL and Xlib if
possible, as I don’t want to use GTK+)
or perhapse just the code to init and draw to the correct window


"They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety. "
–Benjamin Franklin