Re: [AD] multiple windows

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


On Thursday 17 August 2006 5:54 pm, Peter Wang wrote:
> On 2006-08-17, Chris Robinson <chris.kcat@xxxxxxxxxx> wrote:
> > On Thursday 17 August 2006 05:31, Elias Pschernig wrote:
> > > This means, the
> > > system driver should call XOpenDisplay, and all the display drivers
> > > should re-use the connection.
> >
> > This doesn't sound proper. IMO, an AL_DISPLAY should invoke it's own
> > connection to the server (after all, if we're mapping AL_DISPLAY to an
> > X11 Display object (and the equivilant for other systems), you can't have
> > multiple AL_DISPLAYs sharing the same connection.
>
> Why not?  That's the usual way of using X.

It would be interesting to have it support opening windows of an allegro 
program on a different physical DISPLAY, especially if you use the crapy form 
of multi display, where you have to actually tell the apps to launch on 
DISPLAY=:$DISPLAY.N

And besides, it makes more sense to have one queue per window.

> > Each window needs its own
> > Display handle,
>
> Why?  Each window needs its own _Window_ handle.  A "Display" in X11
> terminology consist of a monitor (or more), keyboard and mouse.
>
> > AFAIK, in X, the WM doesn't handle the joystick like it does the keyboard
> > or mouse. You have to open the device yourself and watch for events.
>
> X actually can handle joysticks via its XInput interface, but nobody
> uses it.
>
> Peter
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




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