[Xcb] Xserver/XCB

John Davidorff Pell jpell.lists at mac.com
Mon Mar 6 21:32:21 PST 2006


On 6 Mar 2006, at 16:00, Jamey Sharp wrote:
> On Mon, Mar 06, 2006 at 02:28:06PM -0800, John Davidorff Pell wrote:
>> I guess my question was: Does XCB have C code for these events? i.e.
>> could I link my server against libxcb.dylib and then call
>> XCBPropertyNotify(window, atom, state, time) ?
>
> Oh, I see. No, it doesn't: you'll need to do your own code generation
> for that.

More to learn!

>> While comparing the X protocol spec against xproto.xml, xproto.h, and
>> xproto.c I have a significant question.
>> The protocol says:
>> ...
>> xproto.xml has "BOOL _delete" first. The reply has format first, but
>> the spec as it second.
>>
>> The on-wire-communication is obviously what I need to support, but is
>> this possible building from only the X spec??
>
> There are two parts to the core protocol specification: the semantics,
> and the wire protocol. The latter is given in an appendix, and that's
> what you want to read.

Good to know!


I'll keep y'all posted!

JP


--
``Around 1,500 spectators turned up,... lured by the novel  
combination of death, an elephant and electricity. Mercifully, Topsy  
died extremely quickly, and without a trumpet, which may have had  
something to do with the carrots laced with cyanide that she had been  
fed.'' (from The Economist)




More information about the Xcb mailing list