1XSetEventQueueOwner(3) XLIB FUNCTIONS XSetEventQueueOwner(3)
2
3
4
6 XSetEventQueueOwner - set event queue owner on a shared Xlib/XCB con‐
7 nection
8
10
11 #include <X11/Xlib-xcb.h>
12
13 void XSetEventQueueOwner(Display *dpy, enum XEventQueueOwner owner);
14
16 dpy Specifies the connection to the X server.
17
18 owner Specifies the event queue ownership:
19
20 XlibOwnsEventQueue (default)
21 Xlib owns the event queue. Use the Xlib event-han‐
22 dling functions. Do not call the XCB event-handling
23 functions.
24
25 XCBOwnsEventQueue
26 XCB owns the event queue. Use the XCB event-handling
27 functions. Do not call the Xlib event-handling func‐
28 tions.
29
31 While a client using Xlib/XCB can issue requests and handle their
32 replies or errors with either Xlib or XCB, only one can own and handle
33 the event queue. By default, Xlib must own the event queue, for com‐
34 patibility with legacy Xlib clients. Clients can call XSetEventQueue‐
35 Owner immediately after XOpenDisplay to let XCB own the event queue
36 instead. Clients may not call XSetEventQueueOwner at any other time,
37 as this will potentially lose responses.
38
40 XOpenDisplay(3), XGetXCBConnection(3),
41 Xlib - C Language X Interface
42
43
44
45X Version 11 libX11 1.6.12 XSetEventQueueOwner(3)