13 DLOG(
"[i3 sync protocol] Sending random value %d back to X11 window 0x%08x\n", rnd, window);
16 xcb_client_message_event_t *ev = reply;
18 ev->response_type = XCB_CLIENT_MESSAGE;
22 ev->data.data32[0] = window;
23 ev->data.data32[1] = rnd;
25 xcb_send_event(
conn,
false, window, XCB_EVENT_MASK_NO_EVENT, (
char *)ev);
void * scalloc(size_t num, size_t size)
Safe-wrapper around calloc which exits if malloc returns NULL (meaning that there is no more memory a...