[Xcb] IOError in xpyb, but not in xcb

Andrew Gallant jamslam at gmail.com
Fri Nov 19 17:16:37 PST 2010


Hello,

I've come across a very strange inconsistency. Essentially, if I create a
very simple window using xcb/xpyb, closing the window using the window
manager provides different behavior. When using xcb, the behavior is as
expected... The program quits gracefully. However, when doing the same thing
using xpyb, I get an IOError.

I've attached two sample programs, that do the same thing: create a window
and output button presses. Close the window in the C version, and the
program exits gracefully. Close the window in the Python program, and it
errors out.

I'd appreciate any help on the matter! (I'm willing to accept
workarounds...)

Thanks!

- Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20101119/bc1729ea/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xwindow.c
Type: text/x-csrc
Size: 1289 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20101119/bc1729ea/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xwindow.py
Type: text/x-python
Size: 841 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20101119/bc1729ea/attachment.py>


More information about the Xcb mailing list