xcb_connect: launchd: Don't fall back on tcp if $DISPLAY is a path to a launchd socket
[free-sw/xcb/libxcb] / 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