1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-11 08:08:06 -05:00

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]
This commit is contained in:
Simon Tatham 2012-06-18 18:10:59 +00:00
parent 7fc8db15b2
commit 72640ff615

View 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