From: Simon Tatham Date: Mon, 18 Jun 2012 18:10:59 +0000 (+0000) Subject: Add the missing code to treat data coming from the input method as X-Git-Tag: 0.63~192 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=72640ff6152f460620431848ddf616eecf0e39cf;hp=7fc8db15b262ba644b1c7f8e9b89cc5a86f104f2;p=PuTTY.git Add the missing code to treat data coming from the input method as keypresses for purposes of hiding the mouse pointer and resetting the scrollback. [originally from svn r9568] --- diff --git a/unix/gtkwin.c b/unix/gtkwin.c index 0ce3a4f2..e72664ad 100644 --- a/unix/gtkwin.c +++ b/unix/gtkwin.c @@ -1158,6 +1158,8 @@ void input_method_commit_event(GtkIMContext *imc, gchar *str, gpointer data) { struct gui_data *inst = (struct gui_data *)data; lpage_send(inst->ldisc, CS_UTF8, str, strlen(str), 1); + show_mouseptr(inst, 0); + term_seen_key_event(inst->term); } #endif