Lines Matching defs:conn

134 static char *get_atom_name(xcb_connection_t *conn, xcb_atom_t atom)
137 xcb_get_atom_name_cookie_t cookie = xcb_get_atom_name(conn, atom);
138 xcb_get_atom_name_reply_t *reply = xcb_get_atom_name_reply(conn, cookie, NULL);
151 winClipboardSelectionNotifyTargets(HWND hwnd, xcb_window_t iWindow, xcb_connection_t *conn, ClipboardConversionData *data, ClipboardAtoms *atoms)
154 xcb_get_property_cookie_t cookie = xcb_get_property(conn,
161 xcb_get_property_reply_t *reply = xcb_get_property_reply(conn, cookie, NULL);
174 char *pszAtomName = get_atom_name(conn, atom);
189 winClipboardSelectionNotifyData(HWND hwnd, xcb_window_t iWindow, xcb_connection_t *conn, ClipboardConversionData *data, ClipboardAtoms *atoms)
209 xcb_get_property_cookie_t cookie = xcb_get_property(conn,
216 xcb_get_property_reply_t *reply = xcb_get_property_reply(conn, cookie, NULL);
236 pszAtomName = get_atom_name(conn, encoding);
392 xcb_window_t iWindow, xcb_connection_t *conn,
402 while ((event = xcb_poll_for_event(conn))) {
423 pszAtomName = get_atom_name(conn, selection_request->target);
449 xcb_void_cookie_t cookie = xcb_change_property_checked(conn,
458 if ((error = xcb_request_check(conn, cookie))) {
477 cookie = xcb_send_event_checked(conn, FALSE,
480 if ((error = xcb_request_check(conn, cookie))) {
567 uint32_t maxreqsize = xcb_get_maximum_request_length(conn);
582 xcb_void_cookie_t cookie = xcb_change_property_checked(conn,
590 if ((error = xcb_request_check(conn, cookie))) {
623 cookie = xcb_send_event_checked(conn, FALSE,
626 if ((error = xcb_request_check(conn, cookie))) {
659 cookie = xcb_send_event_checked(conn, FALSE,
662 if ((error = xcb_request_check(conn, cookie))) {
686 pszAtomName = get_atom_name(conn, selection_notify->selection);
707 return winClipboardSelectionNotifyTargets(hwnd, iWindow, conn, data, atoms);
710 return winClipboardSelectionNotifyData(hwnd, iWindow, conn, data, atoms);
725 return winClipboardSelectionNotifyData(hwnd, iWindow, conn, data, atoms);
819 int e = xcb_connection_has_error(conn);