diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-04-04 21:36:47 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-04-12 13:01:03 -0700 |
commit | b64cd0df884e7901ff13def0272df74962035920 (patch) | |
tree | e6dc8347cbd6623090c26590cd7e25db0998fb8f /src/xcb.h | |
parent | b027922ebf1931885e00629c20e26f14f184998d (diff) |
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 <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/xcb.h')
0 files changed, 0 insertions, 0 deletions