Set title on committed load
This commit is contained in:
parent
e92fd1aa5f
commit
5f81d4a99f
1 changed files with 2 additions and 0 deletions
2
surf.c
2
surf.c
|
@ -1538,6 +1538,8 @@ loadchanged(WebKitWebView *v, WebKitLoadEvent e, Client *c)
|
|||
seturiparameters(c, uri, loadtransient);
|
||||
break;
|
||||
case WEBKIT_LOAD_COMMITTED:
|
||||
setatom(c, AtomUri, uri);
|
||||
c->title = uri;
|
||||
seturiparameters(c, uri, loadcommitted);
|
||||
c->https = webkit_web_view_get_tls_info(c->view, &c->cert,
|
||||
&c->tlserr);
|
||||
|
|
Loading…
Reference in a new issue