summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2012-04-21 22:42:51 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2012-04-21 22:42:51 -0700
commit5f8f2ba1c4f9ac74c8f301dcca8566e296e37995 (patch)
treeaa67100a0ce53799de2a317f9dec48df9e1f29e6
parent71a295082e07ff20d4c4cc97feed03b94cceb251 (diff)
downloadxcb-libxcb-5f8f2ba1c4f9ac74c8f301dcca8566e296e37995.tar.gz
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>
-rw-r--r--src/xcb_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xcb_util.c b/src/xcb_util.c
index f17aa3c..45f66cb 100644
--- a/src/xcb_util.c
+++ b/src/xcb_util.c
@@ -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