Thanks for the reply!
I consider that this point is meaningful, but then I can't understand
why exceptions is not applied for queued responses. In result, XBell
calls SyncHandler and if BadAccess occurs, it's handled as normal and
make client unhappy.
On 2021-04-21 11:39, Walter Harms wrote:
since no one feels the need to answer is will try:
Having those exceptions is obviously a hack to allow clients
to continue on "minor" errors. e.g. BadAccess can be generated
by xgrab*() and may work in a second attempt.
NTL this should be documented in the doc.
regarding you original question:
I need a function which robustly returns an
error when we in untrusted context, which returned exactly when client
is untrusted and not for any other reasons.
this is something i can not answer, sorry.
re,
wh
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel