xcb_open: Improve protocol/host parsing
authorJeremy Huddleston <jeremyhu@apple.com>
Thu, 13 May 2010 02:53:45 +0000 (19:53 -0700)
committerJeremy Huddleston <jeremyhu@apple.com>
Fri, 14 May 2010 21:28:53 +0000 (14:28 -0700)
Support scenarios where host is not set and protocol is.  eg:

DISPLAY=tcp/:0

as well as the "inet" and "inet6" alias for "tcp" for compatability
with Xlib

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>

No differences found