[PATCH] Try _X11TransConnect again if it returns TRANS_TRY_CONNECT_AGAIN the first time.
Julien Cristau
jcristau at debian.org
Tue Jun 22 15:45:03 PDT 2010
On Tue, Jun 22, 2010 at 14:01:24 -0500, Jeff Smith wrote:
> Reading through Xtranssock.c reveals that when _X11TransConnect returns the value
> TRANS_TRY_CONNECT_AGAIN, it turns off the abstract socket flag, so that attempting
> _X11TransConnect might succeed the second time where it failed the first time.
>
> Now xscope will attempt the connection a second time when it receives the
> TRANS_TRY_CONNECT_AGAIN return value on the first connection attempt.
>
> Signed-off-by: Jeff Smith <whydoubt at yahoo.com>
> ---
> fd.c | 11 +++++++----
> 1 files changed, 7 insertions(+), 4 deletions(-)
>
What module is this for?
Cheers,
Julien
More information about the xorg-devel
mailing list