@brief Fill the given structure with the WM_PROTOCOLS property of a window.
@param c The connection to the X server.
@param cookie Request cookie.
@param protocols WM_PROTOCOLS property value.
@param e Error if any.
@return Return 1 on success, 0 otherwise.
The parameter e supplied to this function must be NULL if
xcb_icccm_get_wm_protocols_unchecked() is used. Otherwise, it stores the
error if any. protocols structure members should be freed by
xcb_icccm_get_wm_protocols_reply_wipe().
@brief Fill the given structure with the WM_PROTOCOLS property of a window. @param c The connection to the X server. @param cookie Request cookie. @param protocols WM_PROTOCOLS property value. @param e Error if any. @return Return 1 on success, 0 otherwise.
The parameter e supplied to this function must be NULL if xcb_icccm_get_wm_protocols_unchecked() is used. Otherwise, it stores the error if any. protocols structure members should be freed by xcb_icccm_get_wm_protocols_reply_wipe().