]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Add the missing code to treat data coming from the input method as
authorSimon Tatham <anakin@pobox.com>
Mon, 18 Jun 2012 18:10:59 +0000 (18:10 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 18 Jun 2012 18:10:59 +0000 (18:10 +0000)
keypresses for purposes of hiding the mouse pointer and resetting the
scrollback.

[originally from svn r9568]

unix/gtkwin.c

index 0ce3a4f2d33fe2eaeb92a64b37c3079254a868d2..e72664ad8abdfae6623dbe3f8e53134bd790059c 100644 (file)
@@ -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