Home | History | Annotate | Download | only in icccm

Lines Matching refs:reply

59   xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e);
61 if(!reply)
64 prop->_reply = reply;
243 xcb_get_property_reply_t *reply)
245 if(!reply || reply->type != STRING || reply->format != 8)
248 prop->_reply = reply;
264 xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e);
265 uint8_t ret = xcb_get_wm_class_from_reply(prop, reply);
266 /* if reply parsing failed, free the reply to avoid mem leak */
268 free(reply);
294 xcb_get_property_reply_t *reply)
296 if(!reply || reply->type != WINDOW || reply->format != 32 || !reply->length)
299 *prop = *((xcb_window_t *) xcb_get_property_value(reply));
310 xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e);
311 uint8_t ret = xcb_get_wm_transient_for_from_reply(prop, reply);
312 free(reply);
432 xcb_get_wm_size_hints_from_reply(xcb_size_hints_t *hints, xcb_get_property_reply_t *reply)
436 if(!reply)
439 int length = xcb_get_property_value_length(reply) / (reply->format / 8);
441 if (!(reply->type == WM_SIZE_HINTS &&
442 (reply->format == 8 || reply->format == 16 ||
443 reply->format == 32) &&
448 memcpy(hints, (xcb_size_hints_t *) xcb_get_property_value (reply),
449 length * reply->format >> 3);
475 xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e);
476 uint8_t ret = xcb_get_wm_size_hints_from_reply(hints, reply);
477 free(reply);
628 xcb_get_property_reply_t *reply)
630 if(!reply)
633 int length = xcb_get_property_value_length(reply);
634 int num_elem = length / (reply->format / 8);
636 if (reply->type != WM_HINTS
637 || reply->format != 32
641 memcpy(hints, (xcb_size_hints_t *) xcb_get_property_value(reply), length);
655 xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e);
656 int ret = xcb_get_wm_hints_from_reply(hints, reply);
657 free(reply);
697 xcb_get_wm_protocols_from_reply(xcb_get_property_reply_t *reply, xcb_get_wm_protocols_reply_t *protocols)
699 if(!reply || reply->type != ATOM || reply->format != 32)
702 protocols->_reply = reply;
703 protocols->atoms_len = xcb_get_property_value_length(protocols->_reply) / (reply->format / 8);
715 xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e);
716 uint8_t ret = xcb_get_wm_protocols_from_reply(reply, protocols);
718 free(reply);