[Xcb] setting the values of a xcb_client_message_event_t event
Ian Osgood
iano at quirkster.com
Tue Nov 7 10:38:38 PST 2006
---------- Original Message ----------------------------------
From: Vincent Torri <vtorri at univ-evry.fr>
Date: Tue, 7 Nov 2006 09:58:41 +0100 (CET)
>
>Hey,
>
>For ecore_xcb, I need to send a client message event.
>
>With Xlib, I can set the fields serial and send_event, but there is no
>such fields in xcb_client_message_event_t. Is there something specific to
>do with the fields of xcb_client_message_event_t in order to "set those
>properties" ?
>
>thank you
>
>Vincent
XEvent xcb_generic_event_t
------ -------------------------
serial == sequence (and full_sequence)
send_event == response_type & 0x80
but I think sequence is filled in automatically, so you only need to set the correct
bit of response_type ( |= 0x80 ). There should probably be a symbol for this in
xcb.h
Ian
More information about the Xcb
mailing list