Re: [AD] Missing field in keyboard and mouse events

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


On Friday 15 August 2008, Peter Wang wrote:
> On 2008-08-15, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > On Thursday 14 August 2008, Elias Pschernig wrote:
> > > On Wed, 2008-08-13 at 19:21 +0200, Elias Pschernig wrote:
> > > > I'm also right now investigating some locking problems I get from X11
> > > > with that patch. Seems with the A4 background thread using its own
> > > > X11 connection to do some of the setup, those were less likely to
> > > > occur. Using the A4 events thread model (poll for X11 events 1000
> > > > times a second, protected by a lock, instad of just XNextEvent) makes
> > > > them disappear again, but I think there will be an easy solution
> > > > without reverting to that.
> > >
> > > Hm, messing with those X11 events was a major dejavu from a few years
> > > ago for me. I kinda had remembered from back then that X11 was about to
> > > get more thread safe, but seems I was wrong.
> >
> > You weren't. You just can't use libX11. Instead we have to update to XCB.
> > Which we really should..
>
> I've only read a little on XCB.  My only concern was how widespread it
> is, and how stable the API is.  Clearly it's the future though and it
> will probably be installed everywhere by the time Allegro 5 is finished ;)
> So I'd support a move in this direction.

Xine has some new xcb drivers, and some programs that use libxine depend on 
the xcb version (phonon I think).

> Peter
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




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