[Xcb] [Bug 26545] xcb_io.c: extension error handler is not called

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 14 01:11:48 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=26545

--- Comment #5 from Rami Ylimaki <rami.ylimaki at vincit.fi> 2010-04-14 01:11:47 PDT ---
(In reply to comment #4)
> Before I explain that: I found what looks like a long-standing bug in Xlib, or
> at least a misfeature. Try editing your test program to call XNextEvent before
> XCloseDisplay. You'll find that even Xlib --without-xcb calls _XError then.
> 
> As far as I can tell, Xlib only consulted handlers set with XESetError for
> errors seen by _XReply--not when looking for events, or waiting to be able to
> flush the output queue.
> 
> I've just gone to a tiny bit of trouble to reproduce that odd behavior in Xlib
> built --with-xcb. If that's not desirable, it would be nice to remove the extra
> code that implements it. :-)

This seems more like a misfeature than a bug because the documentation is a
little bit vague.



More information about the Xcb mailing list