GNOME Bugzilla – Bug 723555
[PATCH] Decode extension names in X11 error handler
Last modified: 2014-02-04 01:16:45 UTC
Created attachment 267998 [details] [review] gtk3-decode-error-extension-names.patch Extensions in X have their major opcodes dynamically assigned at server startup. Since they vary it would be nice if the error handler told you what the number maps to, otherwise it's hard to use the error message to actually debug the problem. Attached patch fixes this by looking it up in xlib's cache; we can't use XQueryExtensions since it generates protocol, which you can't do from an error handler.
Review of attachment 267998 [details] [review]: nice, thanks