maximised state, we must be sure to disable the window offset used to
centre the terminal in cases where the window is non-negotiably the
wrong size (e.g. maximised). Hence we must call reset_window after our
terminal resize.
git-svn-id: http://svn.tartarus.org/sgt/putty@9044
cda61777-01e9-0310-a592-
d414129be87e
h = (height-cfg.window_border*2) / font_height;
if (h < 1) h = 1;
term_size(term, h, w, cfg.savelines);
h = (height-cfg.window_border*2) / font_height;
if (h < 1) h = 1;
term_size(term, h, w, cfg.savelines);
} else if (cfg.resize_action != RESIZE_FONT)
reset_window(2);
else
} else if (cfg.resize_action != RESIZE_FONT)
reset_window(2);
else