Revamp of the local X11 connection code. We now parse X display
[u/mdw/putty] / windows / winx11.c
1 /*
2 * winx11.c: fetch local auth data for X forwarding.
3 */
4
5 #include <ctype.h>
6 #include <assert.h>
7 #include <stdlib.h>
8
9 #include "putty.h"
10 #include "ssh.h"
11
12 void platform_get_x11_auth(struct X11Display *disp, const Config *cfg)
13 {
14 if (cfg->xauthfile.path[0])
15 x11_get_auth_from_authfile(disp, cfg->xauthfile.path);
16 }
17
18 const int platform_uses_x11_unix_by_default = FALSE;