[EXTERNAL] - [Xlib] Ignoring BadAccess errors

Peter Harris pharris at opentext.com
Wed Apr 21 14:00:07 UTC 2021


On 2021-04-20 7:19 AM, Nekun wrote:
> I need a function which robustly returns an error

For this, you can call XGetXCBConnection and then use xcb "checked" 
functions to reliably retrieve the error (if any). For example, 
xcb_bell_checked() followed by xcb_request_check().

> when we in untrusted context, which returned exactly when client 
> is untrusted and not for any other reasons

Sorry, I'm afraid I can't help with this part.

Peter Harris


More information about the xorg-devel mailing list