2 * ux_x11.c: fetch local auth data for X forwarding.
15 void platform_get_x11_auth(struct X11Display *disp, Conf *conf)
21 * Find the .Xauthority file.
24 xauthfile = getenv("XAUTHORITY");
26 xauthfile = getenv("HOME");
28 xauthfile = dupcat(xauthfile, "/.Xauthority", NULL);
34 x11_get_auth_from_authfile(disp, xauthfile);
40 const int platform_uses_x11_unix_by_default = TRUE;