diff options
author | TingPing <tingping@tingping.se> | 2015-02-01 16:37:27 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2015-02-02 02:56:08 -0500 |
commit | afee9fd42b95274d71c76351349b9bf2090632c5 (patch) | |
tree | c5d292f2d9bae061f75196716be924ebbcbc054d /src/fe-gtk/fkeys.c | |
parent | 60fa7efbc861cc6b6d6ff0f619a16ed79025cb12 (diff) |
Only send utf8 string in Key Press event
Fixes #869
Diffstat (limited to 'src/fe-gtk/fkeys.c')
-rw-r--r-- | src/fe-gtk/fkeys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/fkeys.c b/src/fe-gtk/fkeys.c index 38e991cb..553c7447 100644 --- a/src/fe-gtk/fkeys.c +++ b/src/fe-gtk/fkeys.c @@ -322,7 +322,7 @@ key_handle_key_press (GtkWidget *wid, GdkEventKey *evt, session *sess) return FALSE; current_sess = sess; - if (plugin_emit_keypress (sess, evt->state, evt->keyval, evt->length, evt->string)) + if (plugin_emit_keypress (sess, evt->state, evt->keyval, gdk_keyval_to_unicode (evt->keyval))) return 1; /* maybe the plugin closed this tab? */ |