From: Chris Salzberg <chris@dejimata.com>
Date: Thu, 22 Oct 2015 15:05:31 +0000 (+0900)
Subject: Install focus/blue callbacks when load finished
X-Git-Url: https://git.owens.tech/dummy.html/dummy.html/git?a=commitdiff_plain;h=a7db4499cf3f3525412cf1c95d3a5958958000cb;p=vimb.git

Install focus/blue callbacks when load finished
---

diff --git a/src/main.c b/src/main.c
index 20143d1..132fef7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -788,6 +788,8 @@ static void webview_load_status_cb(WebKitWebView *view, GParamSpec *pspec)
             break;
 
         case WEBKIT_LOAD_FINISHED:
+            frame = webkit_web_view_get_main_frame(view);
+            dom_install_focus_blur_callbacks(webkit_web_frame_get_dom_document(frame));
             uri = webkit_web_view_get_uri(view);
 #ifdef FEATURE_AUTOCMD
             autocmd_run(AU_LOAD_FINISHED, uri, NULL);