NAME

XGetXCBConnection - get the XCB connection for an Xlib Display

SYNTAX

#include xcb_connection_t *XGetXCBConnection(Display *_d_p_y);

ARGUMENTS

_d_p_y Specifies the connection to the X server.

DESCRIPTION

The _X_G_e_t_X_C_B_C_o_n_n_e_c_t_i_o_n function returns the XCB connection associated with an Xlib Display. Clients can use this XCB connection with functions from the XCB library, just as they would with an XCB connection created with XCB. Callers of this function must link to libX11-xcb and a version of Xlib built with XCB support.

SEE ALSO

XOpenDisplay(3X11), XSetEventQueueOwner(3X11),
_X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e