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:
Jeremy Huddleston 2012-04-21 22:42:51 -07:00
parent 71a295082e
commit 5f8f2ba1c4

View File

@ -175,7 +175,7 @@ static int _xcb_open(const char *host, char *protocol, const int display)
if(strncmp(host, "/tmp/launch", 11) == 0) {
base = host;
host = "";
protocol = NULL;
protocol = "unix";
}
#endif