X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/472f9eae6ae8fd07a9c234095afe385a5ac6f198..5ea184d1f9e8ce59e60297f4469912722f7c722e:/windows/wincfg.c diff --git a/windows/wincfg.c b/windows/wincfg.c index d3201c4e..389eb38a 100644 --- a/windows/wincfg.c +++ b/windows/wincfg.c @@ -382,7 +382,7 @@ void win_setup_config_box(struct controlbox *b, HWND *hwndp, int has_help, * $XAUTHORITY is not reliable on Windows, so we provide a * means to override it. */ - if (backend_from_proto(PROT_SSH)) { + if (!midsession && backend_from_proto(PROT_SSH)) { s = ctrl_getset(b, "Connection/SSH/X11", "x11", "X11 forwarding"); ctrl_filesel(s, "X authority file for local display", 't', NULL, FALSE, "Select X authority file",