On Mon, Nov 15, 2010 at 05:00:45PM +0100, Matthias Melcher wrote: > > Have you checked what the xid call returns? Probably 0, right? You need to > flush the event queue until the window is actually mapped: > > while (!window.visible()) fltk::flush(); I shared windows before too. I confirm you should wait for the window to become visible. Simple timeout is not enough, window.visible() should return true. > > Apart from that, I have no idea what SDL does, and I find the way of using an > environment variable to pass the address (or ID) of an X-window more than > suspicious. I'd find that the preferred way. I wasn't able to come up with a better alternative, that was _as easy_ :-)
Kurt > _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
