X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/2875af115c2baa3d5a14422b088fa3df73c177f9..232c6eacfb0a777d55172e80c494d2623bdea47f:/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",