projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5b2065
)
Install focus/blue callbacks when load finished
author
Chris Salzberg
<chris@dejimata.com>
Thu, 22 Oct 2015 15:05:31 +0000
(
00:05
+0900)
committer
Chris Salzberg
<chris@dejimata.com>
Thu, 22 Oct 2015 15:05:31 +0000
(
00:05
+0900)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
20143d1
..
132fef7
100644
(file)
--- 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);