From: Jeremy Huddleston Date: Sun, 22 Apr 2012 05:42:51 +0000 (-0700) Subject: xcb_connect: launchd: Don't fall back on tcp if $DISPLAY is a path to a launchd socket X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f8f2ba1c4f9ac74c8f301dcca8566e296e37995;p=free-sw%2Fxcb%2Flibxcb xcb_connect: launchd: Don't fall back on tcp if $DISPLAY is a path to a launchd socket Signed-off-by: Jeremy Huddleston --- 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