[Xcb] events and connection

Barton C Massey bart at cs.pdx.edu
Tue Apr 5 13:59:04 PDT 2005


Not sure what is meant by "the connection".  If it's the
obvious thing, ie the socket the server is connected to,
you can get it from the XCBConnection structure via
XCBGetFileDescriptor().  

	Bart

In message <Pine.LNX.4.51.0504052032510.10007 at cartan.iecn.u-nancy.fr> you wrote:
> 
> Hello,
> 
> i'm working on the xcb port of ecore, and i'm facing a problem.
> 
> I have a XCBButtonPressEvent event, and i need to retrieve the connection
> from which it has been sent.
> In the structure, there's no information about that.
> 
> Does someone know how to get this connection ? (maybe from the root
> XCBWINDOW ?)
> 
> thank you
> 
> Vincent
> _______________________________________________
> xcb mailing list
> xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb


More information about the xcb mailing list