XGetXCBConnection(3x11) XLIB FUNCTIONS XGetXCBConnection(3x11)NAMEXGetXCBConnection - get the XCB connection for an Xlib Display
SYNTAX
cc [ flag... ] file... -lX11 [ library... ]
#include <X11/Xlib-xcb.h>
xcb_connection_t *XGetXCBConnection(Display *dpy);
ARGUMENTS
dpy Specifies the connection to the X server.
DESCRIPTION
The XGetXCBConnection function returns the XCB connection associated
with an Xlib Display. Clients can use this XCB connection with func‐
tions 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 ALSOXOpenDisplay(3x11), XSetEventQueueOwner(3x11),
Xlib - C Language X Interface
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │x11/library/libx11 │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │See XInitThreads(3X11) │
└─────────────────────────────┴─────────────────────────────┘
X Version 11 libX11 1.3.5 XGetXCBConnection(3x11)