mirror of
git://git.suckless.org/surf
synced 2024-12-11 17:29:38 +00:00
Set title on committed load
This commit is contained in:
parent
e92fd1aa5f
commit
5f81d4a99f
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 New Issue
Block a user