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 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel