diff options
author | Robert Timm <mail@rtti.de> | 2017-02-26 00:29:12 +0100 |
---|---|---|
committer | Robert Timm <mail@rtti.de> | 2017-02-26 23:42:36 +0100 |
commit | 495727fb19cc83289fa4ba90c91590d28ea7e740 (patch) | |
tree | bd1ca593d609003ef9576bcd4d085154f0ad7b71 /src/normal.c | |
parent | bfe8ad4672d81fe2c247e4210b5448a70579ffe5 (diff) |
fixes (shift)tab cycling through editable elements
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index 7410fb9..e92de75 100644 --- a/src/normal.c +++ b/src/normal.c @@ -215,7 +215,6 @@ extern struct Vimb vb; */ void normal_enter(Client *c) { - webkit_web_view_run_javascript(c->webview, "document.activeElement.blur();", NULL, NULL, NULL); /* Make sure that when the browser area becomes visible, it will get mouse * and keyboard events */ gtk_widget_grab_focus(GTK_WIDGET(c->webview)); @@ -322,6 +321,7 @@ void pass_enter(Client *c) */ void pass_leave(Client *c) { + webkit_web_view_run_javascript(c->webview, "document.activeElement.blur();", NULL, NULL, NULL); vb_modelabel_update(c, ""); } |