xcb_connect: launchd: Don't fall back on tcp if $DISPLAY is a path to a launchd socket
authorJeremy Huddleston <jeremyhu@apple.com>
Sun, 22 Apr 2012 05:42:51 +0000 (22:42 -0700)
committerJeremy Huddleston <jeremyhu@apple.com>
Sun, 22 Apr 2012 05:42:51 +0000 (22:42 -0700)
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
src/xcb_util.c

index f17aa3c..45f66cb 100644 (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