summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorRobert Timm <mail@rtti.de>2017-02-26 00:29:12 +0100
committerRobert Timm <mail@rtti.de>2017-02-26 23:42:36 +0100
commit495727fb19cc83289fa4ba90c91590d28ea7e740 (patch)
treebd1ca593d609003ef9576bcd4d085154f0ad7b71 /src/normal.c
parentbfe8ad4672d81fe2c247e4210b5448a70579ffe5 (diff)
fixes (shift)tab cycling through editable elements
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
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, "");
}