libxtrans: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Mar 19 17:59:21 UTC 2023


 Xtrans.c |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 9ae32feef793082a302e65d31514a958604c761d
Author: Olivier Fourdan <ofourdan at redhat.com>
Date:   Tue Jun 25 14:59:59 2019 +0200

    Allow partial connection to succeed
    
    Xwayland can optionally be socket-activated by the Wayland compositor,
    in which case it would use only the sockets provided by the compositor.
    
    However, that prevents other transport protocols from working, because
    when it's given a socket from the Wayland compositor, it would disable
    all other connections and rely solely on the given socket.
    
    Change `MakeAllCOTSServerListeners` to allow for partial connections so
    that if `partial` is set to a non-zero value by the caller, we do not
    bail out in the address is already in use.
    
    That allows to continue trying with other protocols even if the local
    connection fails (as this is already handled by the socket from the
    Wayland compositor).
    
    Related: https://gitlab.freedesktop.org/xorg/xserver/issues/817
    Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>



More information about the xorg-commit mailing list