mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-08 18:28:43 +00:00
Disable code that breaks parsing of DISPLAY=unix:0 on OpenBSD
issue reported by tb@, ok tb@
This commit is contained in:
2
dist/libxcb/src/xcb_util.c
vendored
2
dist/libxcb/src/xcb_util.c
vendored
@@ -170,8 +170,10 @@ static int _xcb_parse_display(const char *name, char **host, char **protocol,
|
||||
if (name[0] == '/')
|
||||
return _xcb_parse_display_path_to_socket(name, host, protocol, displayp, screenp);
|
||||
|
||||
#ifndef __OpenBSD__
|
||||
if (strncmp(name, "unix:", 5) == 0)
|
||||
return _xcb_parse_display_path_to_socket(name + 5, host, protocol, displayp, screenp);
|
||||
#endif
|
||||
|
||||
slash = strrchr(name, '/');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user