From 247d1b9b78f570173f812fda0aee636f2c7a68e0 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 3 Dec 2017 14:38:55 +0000 Subject: [PATCH] Unix PuTTY: add missing call to prepare_session. Now 'putty user@host' will do what you wanted on Unix the same way it always has on Windows. (Thanks to Geoff Winkless for pointing out this inconsistency. I've redone his actual patch my way, but he should still be credited for the inspiration!) --- unix/gtkwin.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unix/gtkwin.c b/unix/gtkwin.c index 2ed7fffe..74b0a2d8 100644 --- a/unix/gtkwin.c +++ b/unix/gtkwin.c @@ -4597,6 +4597,8 @@ void new_session_window(Conf *conf, const char *geometry_string) { struct gui_data *inst; + prepare_session(conf); + /* * Create an instance structure and initialise to zeroes */