man-pages/man3/XSetEventQueueOwner.3.html
2021-03-31 01:06:50 +01:00

84 lines
2.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of XSetEventQueueOwner</TITLE>
</HEAD><BODY>
<H1>XSetEventQueueOwner</H1>
Section: XLIB FUNCTIONS (3)<BR>Updated: libX11 1.6.9<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
XSetEventQueueOwner - set event queue owner on a shared Xlib/XCB connection
<A NAME="lbAC">&nbsp;</A>
<H2>SYNTAX</H2>
<DL COMPACT>
<DT id="1">
<BR>&nbsp;#include&nbsp;&lt;<A HREF="file:///usr/include/X11/Xlib-xcb.h">X11/Xlib-xcb.h</A>&gt;
<DT id="2">
<DD>void XSetEventQueueOwner(Display *<I>dpy</I>, enum XEventQueueOwner <I>owner</I>);
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>ARGUMENTS</H2>
<DL COMPACT>
<DT id="3"><I>dpy</I><DD>
Specifies the connection to the X server.
<DT id="4"><I>owner</I><DD>
Specifies the event queue ownership:
<DL COMPACT><DT id="5"><DD>
<DL COMPACT>
<DT id="6"><I>XlibOwnsEventQueue</I> (default)<DD>
Xlib owns the event queue.
Use the Xlib event-handling functions.
Do not
call the XCB event-handling functions.
<DT id="7"><I>XCBOwnsEventQueue</I><DD>
XCB owns the event queue.
Use the XCB event-handling functions.
Do not call
the Xlib event-handling functions.
</DL>
</DL>
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>DESCRIPTION</H2>
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 <I>XSetEventQueueOwner</I> immediately after
<I>XOpenDisplay</I> to let XCB own the event queue instead.
Clients may not
call <I>XSetEventQueueOwner</I> at any other time, as this will potentially
lose responses.
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<A HREF="/cgi-bin/man/man2html?3+XOpenDisplay">XOpenDisplay</A>(3),
<A HREF="/cgi-bin/man/man2html?3+XGetXCBConnection">XGetXCBConnection</A>(3),
<BR>
<I>Xlib - C Language X Interface</I>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
<DT id="9"><A HREF="#lbAC">SYNTAX</A><DD>
<DT id="10"><A HREF="#lbAD">ARGUMENTS</A><DD>
<DT id="11"><A HREF="#lbAE">DESCRIPTION</A><DD>
<DT id="12"><A HREF="#lbAF">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:01 GMT, March 31, 2021
</BODY>
</HTML>