diff options
author | Henning Sten <henning.sten@yahoo.com> | 2008-09-16 20:28:13 +0200 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2008-09-17 11:04:50 +0200 |
commit | 5978a2ee12537c91b093c68781123622881d63f0 (patch) | |
tree | bfa7c3499af990b3502d6c0d3949696e1a381b6d | |
parent | 3d1f6a1bd27b53ccab6c997417b95052c9490763 (diff) |
add doxygen documentation markup for XCB_EVENT_RESPONSE_TYPE_MASK macro
Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r-- | event/xcb_event.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/event/xcb_event.h b/event/xcb_event.h index 8750dee..c2d1cd6 100644 --- a/event/xcb_event.h +++ b/event/xcb_event.h @@ -43,6 +43,15 @@ extern "C" { #endif +/** + * @brief Bit mask to find event type regardless of event source. + * + * Each event in the X11 protocol contains an 8-bit type code. + * The most-significant bit in this code is set if the event was + * generated from a SendEvent request. This mask can be used to + * determine the type of event regardless of how the event was + * generated. See the X11R6 protocol specification for details. + */ #define XCB_EVENT_RESPONSE_TYPE_MASK (0x7f) #define XCB_EVENT_RESPONSE_TYPE(e) (e->response_type & XCB_EVENT_RESPONSE_TYPE_MASK) #define XCB_EVENT_SENT(e) (e->response_type & ~XCB_EVENT_RESPONSE_TYPE_MASK) |