Starting SDL with a "hidden" window?

Hi,

Is there anyway to tell SDL (X11-specific here, a cross platform solution is
not needed here) to create it’s video window but not show it?

A little background :

The project I am working on contains two seperate applications. One of these
is the GUI, the other is a libSDL application. The libSDL app get’s embedded
into the GUI.

Unfortunately, the libSDL app creates it’s video window as visible, so it
flashes on screen in a separate window before vanishing and being embedded in
the GUI.

The GUI handles the embedding of the window and this cannot be changes, so it
is not possible to create and embed the window directly from SDL - we need to
create it hidden, and then embed it second.

It’s not a major issue, but it is annoying :-)–
Jason Wood
Homepage : www.uchian.pwp.blueyonder.co.uk