xcb_connect: launchd: Don't fall back on tcp if $DISPLAY is a path to a launchd socket
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
71a295082e
commit
5f8f2ba1c4
|
@ -175,7 +175,7 @@ static int _xcb_open(const char *host, char *protocol, const int display)
|
||||||
if(strncmp(host, "/tmp/launch", 11) == 0) {
|
if(strncmp(host, "/tmp/launch", 11) == 0) {
|
||||||
base = host;
|
base = host;
|
||||||
host = "";
|
host = "";
|
||||||
protocol = NULL;
|
protocol = "unix";
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue