Re: [AD] multiple windows

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2006-08-18, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> On Friday 18 August 2006 4:40 am, Peter Wang wrote:
> > On 2006-08-18, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > > On Friday 18 August 2006 4:11 am, Milan Mimica wrote:
> > > > Thomas Fjellstrom wrote:
> > > > > The user tells it to?
> > > >
> > > > I find this interensting. You would like to add a feature that would
> > > > allow opening a new window of the same app on another X server?
> > >
> > > It wouldn't be adding anything if we went with a connection per window,
> > > which gives us the simplicity of one queue per window.
> >
> > Then you need one thread per queue.
> 
> Since when? Does X suck that badly that you cant just do a "select" like 
> operation on it?

For *Xlib* at least.  There is a hack -- you can reach in and get the
underlying sockets and do select() on those, as mentioned on message 5
here (I couldn't find a better reference quickly):

    http://lists.trolltech.com/qt-interest/2004-02/thread00251-0.html

Maybe other libraries (Xt? XCB?) could do it.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/