Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xgetxcbconnection(3) [x11r4 man page]

XGetXCBConnection(3)						  XLIB FUNCTIONS					      XGetXCBConnection(3)

NAME
XGetXCBConnection - get the XCB connection for an Xlib Display SYNTAX
#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 ALSO
XOpenDisplay(3X11), XSetEventQueueOwner(3X11), Xlib - C Language X Interface X Version 11 libX11 1.2.1 XGetXCBConnection(3)

Check Out this Related Man Page

XSetEventQueueOwner(3)						  XLIB FUNCTIONS					    XSetEventQueueOwner(3)

NAME
XSetEventQueueOwner - set event queue owner on a shared Xlib/XCB connection SYNTAX
#include <X11/Xlib-xcb.h> void XSetEventQueueOwner(Display *dpy, enum XEventQueueOwner owner); ARGUMENTS
dpy Specifies the connection to the X server. owner Specifies the event queue ownership: XlibOwnsEventQueue (default) Xlib owns the event queue. Use the Xlib event-handling functions. Do not call the XCB event-handling functions. XCBOwnsEventQueue 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 XSetEventQueue- Owner immediately after XOpenDisplay to let XCB own the event queue instead. Clients may not call XSetEventQueueOwner at any other time, as this will potentially lose responses. SEE ALSO
XOpenDisplay(3), XGetXCBConnection(3), Xlib - C Language X Interface X Version 11 libX11 1.5.0 XSetEventQueueOwner(3)
Man Page

We Also Found This Discussion For You

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies