Change x11_get_display_port() to x11_get_display().
If DISPLAY is a local UNIX socket, return 0 for the port number, and an xmalloc()'d string as the target option.
Please register or sign in to comment
If DISPLAY is a local UNIX socket, return 0 for the port number, and an xmalloc()'d string as the target option.