[Xcb] Co-existence of xcb and xlib event handling?

Rémi Denis-Courmont remi at remlab.net
Sat Apr 18 07:50:12 PDT 2009


Le vendredi 17 avril 2009, Philip Langdale a écrit :
> My understanding is that I can only take advantage of xcb's error
> handling if I switch my event handling to xcb. However, the
> application makes significant use of xinput, which currently has no
> xcb binding (although I see it might happen during SoC). Is there any
> way that I can switch to xcb event handling while still being able to
> use my xinput code to handle xinput events? 

You can always use two connections to the same display, one with XCB and 
one with Xlib. But, you'll only be able to handle errors with XCB if 
you've sent the request with XCB, and events if you've subscribed to 
them with XCB.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the Xcb mailing list