From 6a39dcb4c16dc334a546d1567a3b80567a0e3bfc Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 18 Jun 2012 18:10:59 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.tartarus.org/sgt/putty@9568 cda61777-01e9-0310-a592-d414129be87e --- unix/gtkwin.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.11.0