NAME
XSetEventQueueOwner - set event queue owner on a shared Xlib/XCB connection
SYNTAX
#include
void XSetEventQueueOwner(Display *_d_p_y, enum XEventQueueOwner _o_w_n_e_r);
ARGUMENTS
-
_d_p_y
Specifies the connection to the X server.
-
-
_o_w_n_e_r
Specifies the event queue ownership:
-
-
_X_l_i_b_O_w_n_s_E_v_e_n_t_Q_u_e_u_e (default)
-
Xlib owns the event queue. Use the Xlib event-handling functions. Do not
call the XCB event-handling functions.
-
_X_C_B_O_w_n_s_E_v_e_n_t_Q_u_e_u_e
-
XCB owns the event queue. Use the XCB event-handling functions. Do not call
the Xlib event-handling functions.
DESCRIPTION
While a client using Xlib/XCB can issue requests and handle their replies or
errors with either Xlib or XCB, only one can own and handle the event queue.
By default, Xlib must own the event queue, for compatibility with legacy Xlib
clients. Clients can call _X_S_e_t_E_v_e_n_t_Q_u_e_u_e_O_w_n_e_r immediately after
_X_O_p_e_n_D_i_s_p_l_a_y to let XCB own the event queue instead. Clients may not
call _X_S_e_t_E_v_e_n_t_Q_u_e_u_e_O_w_n_e_r at any other time, as this will potentially
lose responses.
SEE ALSO
XOpenDisplay(3X11),
XGetXCBConnection(3X11),
_X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e