xpra icon
Bug tracker and wiki

Ticket #172: X11-unix-domain-socket.patch

File X11-unix-domain-socket.patch, 488 bytes (added by Antoine Martin, 8 years ago)

X11 unix-with-path protocol patch

  • src/xcb_util.c

    diff --git a/src/xcb_util.c b/src/xcb_util.c
    index 996ff25..fb0cd3d 100644
    a b static int _xcb_open(char *host, char *protocol, const int display) 
    139139    char file[sizeof(base) + 20];
    140140    int filelen;
    141141
     142    if(protocol && strcmp("unix-with-path", protocol) == 0)
     143    {
     144        /* display specifies Unix socket with explicit path */
     145        return  _xcb_open_unix("unix", host);
     146    }
     147
    142148    if(*host)
    143149    {
    144150#ifdef DNETCONN