From: jacob Date: Sat, 27 Oct 2007 16:05:02 +0000 (+0000) Subject: Reset mouse reporting mode as part of resetting the terminal. X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/7c44631523b894e0126383602126b6e85b549e09?ds=sidebyside Reset mouse reporting mode as part of resetting the terminal. git-svn-id: svn://svn.tartarus.org/sgt/putty@7773 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/terminal.c b/terminal.c index 65efb8eb..079a738a 100644 --- a/terminal.c +++ b/terminal.c @@ -1223,6 +1223,8 @@ static void power_on(Terminal *term, int clear) term->erase_char = term->basic_erase_char; term->alt_which = 0; term_print_finish(term); + term->xterm_mouse = FALSE; + set_raw_mouse_mode(term->frontend, FALSE); { int i; for (i = 0; i < 256; i++) @@ -1448,7 +1450,7 @@ Terminal *term_init(Config *mycfg, struct unicode_data *ucsdata, term->vt52_mode = FALSE; term->cr_lf_return = FALSE; term->seen_disp_event = FALSE; - term->xterm_mouse = term->mouse_is_down = FALSE; + term->mouse_is_down = FALSE; term->reset_132 = FALSE; term->cblinker = term->tblinker = 0; term->has_focus = 1;