mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-07 16:48:31 +02:00
Force local transport when using the launchd socket.
Fixes a regression due to
bf53987eaf
This commit is contained in:
parent
7aca689ce1
commit
5e68e94d85
1 changed files with 4 additions and 3 deletions
|
|
@ -298,10 +298,11 @@ _X11TransConnectDisplay (
|
|||
} else
|
||||
#endif
|
||||
#ifdef HAVE_LAUNCHD
|
||||
if (!phostname || phostname[0]=='/')
|
||||
#else
|
||||
if (!phostname)
|
||||
if (phostname && phostname[0]=='/') {
|
||||
pprotocol = copystring ("local", 5);
|
||||
}
|
||||
#endif
|
||||
if (!phostname)
|
||||
{
|
||||
if (local_transport[0] != NULL) {
|
||||
pprotocol = Xstrdup(local_transport[0]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue