From: Alan Coopersmith Date: Tue, 5 Apr 2011 04:36:47 +0000 (-0700) Subject: If protocol is "unix", use a Unix domain socket, not TCP X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b64cd0df884e7901ff13def0272df74962035920;hp=b64cd0df884e7901ff13def0272df74962035920;p=free-sw%2Fxcb%2Flibxcb If protocol is "unix", use a Unix domain socket, not TCP Fixes fallback to local connections from Xlib's XOpenDisplay(), which will try with protocol "unix" if a hostname is specified and tcp fails (as it usually will now that most OS'es ship with -nolisten tcp enabled). Also fixes explicitly specifying DISPLAY as "unix/foo:0", which Xlib previously accepted for Unix domain sockets. Signed-off-by: Alan Coopersmith ---