[Xcb] [PATCH 18/19] Xephyr: handle errors in event loop

Julien Cristau jcristau at debian.org
Wed Oct 20 10:56:26 PDT 2010


On Wed, Oct 20, 2010 at 10:38:37 -0700, Alan Coopersmith wrote:

> Does minor code have any meaning when major_code < 128?   I suppose

Probably not.  It seems to be set to 0 in that case.

> it doesn't hurt to print it.   I do wish there was an easy way to
> print the extension name for major_code >= 128, similar to the old
> Xlib error handler, since we get bug reports from users with different
> configs, so have to guess what extension an error came from.
> 
Agreed.  It probably doesn't matter much for xephyr, which uses only a
small number of extensions (shape, shm, and optionally glx, xf86dri and
xv), but for other apps this would be handy.

Cheers,
Julien


More information about the xorg-devel mailing list