[Xcb] XCBConfigureEvent

Ian Osgood iano at quirkster.com
Mon Jul 24 07:52:08 PDT 2006


On Jul 24, 2006, at 12:07 AM, Vincent Torri wrote:

>
> hey,
>
> in Xlib, the XConfigureEvent structure (and all the events,  
> actually) has a send_event member (which is true is the event comes  
> from a SendEvent request).
>
> I don't see anything related to that in XCBConfigureEvent. How can  
> I get it ?
>
> thank you
>
> Vincent

This is bit 7 (0x80) of the event response_type. This is why event  
loops normally must mask this bit off with "& ~0x80" or "& 0x7f".   
(This ought to be a constant in xcb.h, or perhaps a couple of  
macros.)  I think I edited your tutorial to mention this.

Ian


More information about the Xcb mailing list