[Xcb] Re: Xserver/XCB
Barton C Massey
bart at cs.pdx.edu
Sun Nov 6 17:24:50 PST 2005
I think you'll want to use the XCB-XML protocol description
stuff to generate the server-side wire protocol handling for
your xserver. It's still a bullet point for us, but one
we're very interested in supporting and helping out with.
Given the state of the current XML descriptions, I think
generating server-side code should be fairly
I'm not sure how much of the rest of the XCB codebase will
be useful, though. It depends partly on whether you're
going to try to build a multi-threaded server---there's
pieces that might be useful for that. I think otherwise
there's not too much...
In message <F3D8952A-AFB9-4B23-84D5-3AE75BAE1950 at mac.com> you wrote:
> On 5 Nov 2005, at 00:04, John Davidorff Pell wrote:
> > Hi!
> > I have decided to write a new implementation of the X server. My
> > goal is partly educational, but also functional. I plan on writing
> > a new-style rootless X server for Mac OS X. Of course, I do not
> > look forward to writing the on-wire portion of it.
> > Long long ago, I read that XCB might take care of that, so
> > naturally I checked just now to see if it was in a usable state. Lo
> > and behold, xcb-xserver is still just a bullet point on the list of
> > possibilities.
> > I'm a student and have not yet had the pleasure of exploring the
> > XCB code, so I am unsure how hard it would be to make it work
> > server-side. It seems that the first jump would be to accept an
> > incoming connection (rather then beginning an outbound one), after
> > that it would be mostly just sending events back and forth, no?
> > Does XCB implement events that are only ever generated server-side?
> > To do so, I would just need to write them in XML, no?
> > Tips and pointers are appreciated!
> > JP
More information about the Xcb