[Xcb] [PATCH 2/7] Ensure that there's still a valid connection to the X server before attempting to send a request.
julien at danjou.info
Thu Mar 8 09:35:06 PST 2012
On Thu, Mar 08 2012, Alex Plotnick wrote:
> An exception is raised in that case. If xpybConn_invalid detects
> an invalid connection, it sets an appropriate exception and returns
> a non-zero value as an error indicator. The NULL we return in that
> case is also an error indicator (because we return a PyObject*); the
> exception is already set. This is a standard Python/C API idiom: see
My bad, I misread the called function name, I though it was a xcb_ one.
Patch pushed, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: not available
More information about the Xcb