xcb_event.h   xcb_event.h 
skipping to change at line 58 skipping to change at line 58
* *
* Each event in the X11 protocol contains an 8-bit type code. * 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 * The most-significant bit in this code is set if the event was
* generated from a SendEvent request. This mask can be used to * generated from a SendEvent request. This mask can be used to
* determine the type of event regardless of how the event was * determine the type of event regardless of how the event was
* generated. See the X11R6 protocol specification for details. * generated. See the X11R6 protocol specification for details.
*/ */
#define XCB_EVENT_RESPONSE_TYPE_MASK (0x7f) #define XCB_EVENT_RESPONSE_TYPE_MASK (0x7f)
#define XCB_EVENT_RESPONSE_TYPE(e) (e->response_type & XCB_EVENT_RESPONS E_TYPE_MASK) #define XCB_EVENT_RESPONSE_TYPE(e) (e->response_type & XCB_EVENT_RESPONS E_TYPE_MASK)
#define XCB_EVENT_SENT(e) (e->response_type & ~XCB_EVENT_RESPONS E_TYPE_MASK) #define XCB_EVENT_SENT(e) (e->response_type & ~XCB_EVENT_RESPONS E_TYPE_MASK)
#define XCB_EVENT_ERROR_TYPE(e) (*((uint8_t *) e + 1))
#define XCB_EVENT_REQUEST_TYPE(e) (*((uint8_t *) e + 10))
typedef int (*xcb_generic_event_handler_t)(void *data, xcb_connection_t *c, xcb_generic_event_t *event); typedef int (*xcb_generic_event_handler_t)(void *data, xcb_connection_t *c, xcb_generic_event_t *event);
typedef int (*xcb_generic_error_handler_t)(void *data, xcb_connection_t *c, xcb_generic_error_t *error); typedef int (*xcb_generic_error_handler_t)(void *data, xcb_connection_t *c, xcb_generic_error_t *error);
typedef struct xcb_event_handler xcb_event_handler_t; typedef struct xcb_event_handler xcb_event_handler_t;
struct xcb_event_handler struct xcb_event_handler
{ {
xcb_generic_event_handler_t handler; xcb_generic_event_handler_t handler;
void *data; void *data;
}; };
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added


 xcb_icccm.h   xcb_icccm.h 
skipping to change at line 873 skipping to change at line 873
/** /**
* @see xcb_get_wm_protocols() * @see xcb_get_wm_protocols()
*/ */
xcb_get_property_cookie_t xcb_get_wm_protocols_unchecked(xcb_connection_t * c, xcb_get_property_cookie_t xcb_get_wm_protocols_unchecked(xcb_connection_t * c,
xcb_window_t windo w, xcb_window_t windo w,
xcb_atom_t wm_prot ocol_atom); xcb_atom_t wm_prot ocol_atom);
/** /**
* @brief Fill the given structure with the WM_PROTOCOLS property of a wind ow. * @brief Fill the given structure with the WM_PROTOCOLS property of a wind ow.
* @param reply The reply of the GetProperty request.
* @param protocols WM_PROTOCOLS property value.
* @return Return 1 on success, 0 otherwise.
*
* protocols structure members should be freed by
* xcb_get_wm_protocols_reply_wipe().
*/
uint8_t xcb_get_wm_protocols_from_reply(xcb_get_property_reply_t *reply,
xcb_get_wm_protocols_reply_t *proto
cols);
/**
* @brief Fill the given structure with the WM_PROTOCOLS property of a wind
ow.
* @param c The connection to the X server. * @param c The connection to the X server.
* @param cookie Request cookie. * @param cookie Request cookie.
* @param protocols WM_PROTOCOLS property value. * @param protocols WM_PROTOCOLS property value.
* @param e Error if any. * @param e Error if any.
* @return Return 1 on success, 0 otherwise. * @return Return 1 on success, 0 otherwise.
* *
* The parameter e supplied to this function must be NULL if * The parameter e supplied to this function must be NULL if
* xcb_get_wm_protocols_unchecked() is used. Otherwise, it stores the * xcb_get_wm_protocols_unchecked() is used. Otherwise, it stores the
* error if any. protocols structure members should be freed by * error if any. protocols structure members should be freed by
* xcb_get_wm_protocols_reply_wipe(). * xcb_get_wm_protocols_reply_wipe().
 End of changes. 1 change blocks. 
0 lines changed or deleted 13 lines changed or added


 xcb_property.h   xcb_property.h 
skipping to change at line 71 skipping to change at line 71
struct xcb_property_handlers { struct xcb_property_handlers {
xcb_property_handler_node_t *head; xcb_property_handler_node_t *head;
xcb_property_handler_t def; xcb_property_handler_t def;
xcb_event_handlers_t *evenths; xcb_event_handlers_t *evenths;
}; };
/** /**
* @brief Get any property from a window, from any format. * @brief Get any property from a window, from any format.
* @param c The connection to the X server. * @param c The connection to the X server.
* @param del The XCB_PROP_MODE value. * @param del Boolean value that determines whether the property is deleted .
* @param window The window to get property from. * @param window The window to get property from.
* @param name The property atom name. * @param name The property atom name.
* @param long_len The maximum length of the property. * @param long_len The maximum length of the property.
* @return A cookie. * @return A cookie.
*/ */
xcb_get_property_cookie_t xcb_get_any_property(xcb_connection_t *c, xcb_get_property_cookie_t xcb_get_any_property(xcb_connection_t *c,
uint8_t del, uint8_t del,
xcb_window_t window, xcb_window_t window,
xcb_atom_t name, xcb_atom_t name,
uint32_t long_len); uint32_t long_len);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/