[Xcb] Developer mad at libx11-xcb
Barton C Massey
bart at cs.pdx.edu
Sat Feb 2 20:06:19 PST 2008
In message <20080203035952.GB66235 at kris.home> you wrote:
> On Sat, Feb 02, 2008 at 07:57:39PM -0800, Barton C Massey wrote:
> >Can someone help us debug this? Is the problem that the
> >ConnectionNumber() macro is losing? That would not shock
> >me, although it's hard to fix. Could you try calling the
> >XConnectionNumber() function instead? My guess is that this
> >will work for you, which will help us debug the problem.
> No, the ConnectionNumber macro works fine, which is exactly the
> problem. I set the OCEXEC bit on the fd, and, afterwards, any X
> call just freezes. When I manually close the fd on exec, it
> works just fine. This is not the case with XF86 Xlib.
That's just weird. I hate to ask, but you're *sure* that
ConnectionNumber() is returning the correct fd, and not some
small integer from elsewhere in the display structure?
More information about the Xcb