[Xcb] xlib - xcb question

Peter Hutterer mailinglists at who-t.net
Mon Dec 4 21:09:58 PST 2006


On 05/12/2006, at 15:10 , Josh Triplett wrote:
> Only one of Xlib or XCB can handle events.  Because Xlib/XCB must  
> maintain
> compatibility with standard Xlib, by default Xlib owns the event  
> queue, and
> thus you have to use Xlib functions for event handling.  If you  
> want to handle
> events with XCB instead, you need to call:
> XSetEventQueueOwner(dpy, XCBOwnsEventQueue);
> immediately after XOpenDisplay.

Thanks. That was it. Seems to work on a first glance.

Cheers,
   Peter

--
Multi-Pointer X Server
http://wearables.unisa.edu.au/mpx



More information about the Xcb mailing list