diff options
Diffstat (limited to 'src/input.c')
-rw-r--r-- | src/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input.c b/src/input.c index 6236c9d..3e7943c 100644 --- a/src/input.c +++ b/src/input.c @@ -38,7 +38,7 @@ void input_enter(Client *c) * disturbing the user */ gtk_widget_grab_focus(GTK_WIDGET(c->webview)); vb_modelabel_update(c, "-- INPUT --"); - webkit_web_view_run_javascript(c->webview, "var vimb_input_mode_element = document.activeElement;", NULL, NULL, NULL); + ext_proxy_eval_script(c, "var vimb_input_mode_element = document.activeElement;", NULL); } /** @@ -46,7 +46,7 @@ void input_enter(Client *c) */ void input_leave(Client *c) { - webkit_web_view_run_javascript(c->webview, "vimb_input_mode_element.blur();", NULL, NULL, NULL); + ext_proxy_eval_script(c, "vimb_input_mode_element.blur();", NULL); vb_modelabel_update(c, ""); } |