xcb_ewmh.h | xcb_ewmh.h | |||
---|---|---|---|---|
skipping to change at line 1509 | skipping to change at line 1509 | |||
* @param r The X reply to be freed | * @param r The X reply to be freed | |||
*/ | */ | |||
void xcb_ewmh_get_workarea_reply_wipe(xcb_ewmh_get_workarea_reply_t *r); | void xcb_ewmh_get_workarea_reply_wipe(xcb_ewmh_get_workarea_reply_t *r); | |||
/** | /** | |||
* @brief Send a ChangeProperty request for _NET_SUPPORTING_WM_CHECK | * @brief Send a ChangeProperty request for _NET_SUPPORTING_WM_CHECK | |||
* | * | |||
* _NET_SUPPORTING_WM_CHECK, WINDOW/32 | * _NET_SUPPORTING_WM_CHECK, WINDOW/32 | |||
* | * | |||
* @param ewmh The per-screen EWMH information | * @param ewmh The per-screen EWMH information | |||
* @param screen_nbr The screen number | * @param parent_window The root window or child window created by the WM | |||
* @param new_window The child window created by the WM | * @param child_window The child window created by the WM | |||
* @return Cookie associated with the ChangeProperty _NET_SUPPORTING_WM_CHE CK request | * @return Cookie associated with the ChangeProperty _NET_SUPPORTING_WM_CHE CK request | |||
*/ | */ | |||
xcb_void_cookie_t xcb_ewmh_set_supporting_wm_check(xcb_ewmh_connection_t *e wmh, | xcb_void_cookie_t xcb_ewmh_set_supporting_wm_check(xcb_ewmh_connection_t *e wmh, | |||
int screen_nbr, | xcb_window_t parent_wind | |||
xcb_window_t new_window) | ow, | |||
; | xcb_window_t child_windo | |||
w); | ||||
/** | /** | |||
* @see xcb_ewmh_set_supporting_wm_check | * @see xcb_ewmh_set_supporting_wm_check | |||
*/ | */ | |||
xcb_void_cookie_t xcb_ewmh_set_supporting_wm_check_checked(xcb_ewmh_connect ion_t *ewmh, | xcb_void_cookie_t xcb_ewmh_set_supporting_wm_check_checked(xcb_ewmh_connect ion_t *ewmh, | |||
int screen_nbr, | xcb_window_t par | |||
xcb_window_t new | ent_window, | |||
_window); | xcb_window_t chi | |||
ld_window); | ||||
/** | /** | |||
* @brief Send GetProperty request to get _NET_SUPPORTING_WM_CHECK | * @brief Send GetProperty request to get _NET_SUPPORTING_WM_CHECK | |||
* root window property | * root window property | |||
* | * | |||
* @param ewmh The information relative to EWMH | * @param ewmh The information relative to EWMH | |||
* @param screen_nbr The screen number | * @param screen_nbr The screen number | |||
* @return The _NET_SUPPORTING_WM_CHECK cookie of the GetProperty request | * @return The _NET_SUPPORTING_WM_CHECK cookie of the GetProperty request | |||
*/ | */ | |||
xcb_get_property_cookie_t xcb_ewmh_get_supporting_wm_check_unchecked(xcb_ew mh_connection_t *ewmh, | xcb_get_property_cookie_t xcb_ewmh_get_supporting_wm_check_unchecked(xcb_ew mh_connection_t *ewmh, | |||
int sc reen_nbr); | xcb_wi ndow_t window); | |||
/** | /** | |||
* @see xcb_ewmh_get_supporting_wm_check_unchecked | * @see xcb_ewmh_get_supporting_wm_check_unchecked | |||
*/ | */ | |||
xcb_get_property_cookie_t xcb_ewmh_get_supporting_wm_check(xcb_ewmh_connect ion_t *ewmh, | xcb_get_property_cookie_t xcb_ewmh_get_supporting_wm_check(xcb_ewmh_connect ion_t *ewmh, | |||
int screen_nbr); | xcb_window_t win dow); | |||
/** | /** | |||
* @brief Get the list of client windows from a GetProperty | * @brief Get the list of client windows from a GetProperty | |||
* _NET_SUPPORTING_WM_CHECK reply | * _NET_SUPPORTING_WM_CHECK reply | |||
* | * | |||
* @param window The child window created by the WM | * @param window The child window created by the WM | |||
* @param r GetProperty _NET_SUPPORTING_WM_CHECK reply | * @param r GetProperty _NET_SUPPORTING_WM_CHECK reply | |||
* @return Return 1 on success, 0 otherwise | * @return Return 1 on success, 0 otherwise | |||
*/ | */ | |||
static inline uint8_t | static inline uint8_t | |||
End of changes. 5 change blocks. | ||||
10 lines changed or deleted | 12 lines changed or added | |||
xcb_icccm.h | xcb_icccm.h | |||
---|---|---|---|---|
skipping to change at line 389 | skipping to change at line 389 | |||
/** | /** | |||
* @brief Deliver a SetProperty request to set WM_CLASS property value. | * @brief Deliver a SetProperty request to set WM_CLASS property value. | |||
* | * | |||
* WM_CLASS string is a concatenation of the instance and class name | * WM_CLASS string is a concatenation of the instance and class name | |||
* strings respectively (including null character). | * strings respectively (including null character). | |||
* | * | |||
* @param c The connection to the X server. | * @param c The connection to the X server. | |||
* @param window Window X identifier. | * @param window Window X identifier. | |||
* @param class_len Length of WM_CLASS string. | * @param class_len Length of WM_CLASS string. | |||
* @param class WM_CLASS string. | * @param class_name WM_CLASS string. | |||
* @return The request cookie. | * @return The request cookie. | |||
*/ | */ | |||
xcb_void_cookie_t xcb_icccm_set_wm_class_checked(xcb_connection_t *c, | xcb_void_cookie_t xcb_icccm_set_wm_class_checked(xcb_connection_t *c, | |||
xcb_window_t window, | xcb_window_t window, | |||
uint32_t class_len, | uint32_t class_len, | |||
const char *class); | const char *class_name); | |||
/** | /** | |||
* @see xcb_icccm_set_wm_class_checked() | * @see xcb_icccm_set_wm_class_checked() | |||
*/ | */ | |||
xcb_void_cookie_t xcb_icccm_set_wm_class(xcb_connection_t *c, | xcb_void_cookie_t xcb_icccm_set_wm_class(xcb_connection_t *c, | |||
xcb_window_t window, | xcb_window_t window, | |||
uint32_t class_len, | uint32_t class_len, | |||
const char *class); | const char *class_name); | |||
typedef struct { | typedef struct { | |||
/** Instance name */ | /** Instance name */ | |||
char *instance_name; | char *instance_name; | |||
/** Class of application */ | /** Class of application */ | |||
char *class_name; | char *class_name; | |||
/** Store reply to avoid memory allocation, should normally not be | /** Store reply to avoid memory allocation, should normally not be | |||
used directly */ | used directly */ | |||
xcb_get_property_reply_t *_reply; | xcb_get_property_reply_t *_reply; | |||
} xcb_icccm_get_wm_class_reply_t; | } xcb_icccm_get_wm_class_reply_t; | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||